Astro-Catalog
view release on metacpan or search on metacpan
lib/Astro/Catalog/Query/USNOA2.pm view on Meta::CPAN
package Astro::Catalog::Query::USNOA2;
=head1 NAME
Astro::Catalog::Query::USNOA2 - A query request to the USNO-A2.0 Catalog
=head1 SYNOPSIS
$usno = new Astro::Catalog::Query::USNOA2(
Coords => new Astro::Coords(),
Radius => $radius,
Bright => $magbright,
Faint => $magfaint,
Sort => $sort_type,
Number => $number_out);
my $catalog = $usno->querydb();
=head1 DESCRIPTION
The module is an object orientated interface to the online USNO-A2.0
catalog at the ESO/ST-ECF archive site.
Stores information about an prospective USNO-A2.0 query and allows the query to
be made, returning an Astro::Catalog::USNOA2::Catalog object.
The object will by default pick up the proxy information from the HTTP_PROXY
and NO_PROXY environment variables, see the LWP::UserAgent documentation for
details.
See L<Astro::Catalog::BaseQuery> for the catalog-independent methods.
=cut
use strict;
use warnings;
use base qw/Astro::Catalog::Transport::REST/;
use File::Spec;
use Carp;
use Astro::Coords;
use Astro::Catalog;
use Astro::Catalog::Item;
use Astro::Flux;
use Astro::Fluxes;
use Astro::FluxColor;
use Number::Uncertainty;
our $VERSION = '4.38';
=begin __PRIVATE_METHODS__
=head2 Private methods
These methods are for internal use only.
=over 4
=item B<_default_remote_host>
=cut
sub _default_remote_host {
return "archive.eso.org";
}
=item B<_default_url_path>
=cut
sub _default_url_path {
return "skycat/servers/usnoa_res?";
}
=item B<_get_allowed_options>
Returns a hash with keys, being the internal options supported
by this subclass, and values being the key name actually required
by the remote system (and to be included in the query).
=cut
sub _get_allowed_options {
my $self = shift;
return (
( run in 0.450 second using v1.01-cache-2.11-cpan-d7a12ab2c7f )