Astro-satpass
view release on metacpan or search on metacpan
Add -json option to the satpass script's tle() command, to get
canonical JSON output.
Make use of DateTime (if available) to interpret a non-numeric
Astro::Coord::ECI::TLE::Iridium zone attribute. If DateTime is not
available, fall back to the old implementation of setting $ENV{TZ}
and hoping localtime() responds to this.
Correct the documentation of the Astro::Coord::ECI 'twilight'
attribute, which really can not be set to 'civil', etc.
0.051 2012-06-08 T. R. Wyant
Use YAML instead of YAML::Any, since they are both in the same distro,
and YAML does not suffer from deprecation warnings.
Add pass variant PASS_VARIANT_NO_ILLUMINATION. If attribute 'visible'
is false, this causes no illumination calculations at all to be
done. This seems to save 20% in calculation time, but your mileage
may vary, especially inside the Arctic or Antarctic Circles.
Have bin/satpass warn the first time it geocodes if geocoding is done
directly using SOAP::Lite.
Make the Astro::Coord::ECI azel_offset() Doppler calculation
contingent on the availability of a radial velocity value.
Reinstate the Doppler calculation in Astro::Coord::ECI's
azel_offset(). Thanks to Vidar Tyldum for finding this omission.
While in the Doppler code, made the satellite the primary source of
the frequency. Getting the frequency from the observer object is
being put through a deprecation cycle, and will eventually result in
an error.
0.050 2012-05-04 T. R. Wyant
The 'status iridium' command in the 'satpass' script is now fatal;
it has been deprecated in favor of 'status show' for some time,
issued a warning on every use since version 0.044.
Have Astro::Coord::ECI method heliocentric_ecliptic_cartesian() set
the object's {inertial} to true.
Add module Astro::Coord::ECI::Mixin to provide common-logic methods
which do not seem to fit the object hierarchy.
Promote method ecliptic_longitude() from Astro::Coord::ECI::Sun to
Astro::Coord::ECI.
In Astro::Coord::ECI:
* Add attribute 'sun', to hold the object used to convert to and
from Heliocentric coordinates.
* Add methods ecliptic_cartesian(), heliocentric_ecliptic(), and
heliocentric_ecliptic_cartesian().
* Consolidate code for conversion between Cartesian and spherical
coordinates.
In Astro::Coord::ECI::Set:
* Have the aggregate() method _not_ aggregate TLEs that have a blank
ID and model 'null'. This piece of ad-hocery was necessary to
prevent aggregation of "fake" TLEs representing different fixed
points in space (e.g. as created by the satpass or satpass2
'geodetic' command).
0.049 2012-03-12 T. R. Wyant
In the Astro::Coord::ECI precess_dynamical() method, set the time of
the station attribute (if any) before precessing it.
In Astro::Coord::ECI::TLE, throw an exception if the Sun never rises.
This should not happen, but was encountered while sorting out the
precess_dynamical() bug.
Independently test appulses of all relevant classes, since this is how
the precess_dynamical() bug manifested.
In Astro::Coord::ECI::TLE::Set, override the get() method, and have
get( 'tle' ) return the concatenated TLEs of all members.
In Astro::Coord::ECI::TLE::Iridium reflection() method, fix
two-argument azel() call.
0.048 2012-03-08 T. R. Wyant
Add keplers_equation() to Astro::Coord::ECI::Utils.
In the 'satpass' script's pass() subroutine, set the 'station'
attribute of all bodies in the @sky array before passing them to the
Astro::Coord::ECI::TLE pass() method.
In the Astro::Coord::ECI::TLE::Iridium flare() method, set the
'station' attribute of the object that represents the center of the
flare.
Have the first use of the Astro::Coord::ECI::TLE 'limb' attribute, the
satpass script 'lit' setting, and the Astro::Coord::ECI azel()
method with an 'upper' argument display a warning. These were
deprecated in September 2011.
In Astro::Coord::ECI:
* Have next_azimuth(), next_elevation(), and next_meridian() make use
of the 'station' attribute if the invocant is the only
Astro::Coord::ECI argument.
Have Astro::Coord::ECI::TLE->parse() take, as an optional first
argument, a reference to a hash that is used to initialize
attributes not initialized by parsing the TLE data.
Convert all eg/ scripts to use the 'station' attribute where possible,
and the optional Astro::Coord::ECI::TLE->parse() hash argument where
practical.
In Astro::Coord::ECI:
* Add 'station' attribute, as origin of observer-centered coordinate
systems. If azel() is called with the invocant as the only
Astro::Coord::ECI argument, it returns the coordinates of the
invocant relative to the 'station' attribute.
* Factor out the Cartesian portion of the azel() method, and add
( run in 2.077 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )