Subject: | Re: Possible bug in Astro::Catalog::Query::Vizier |
Date: | Mon, 27 Apr 2020 15:38:26 +0100 |
To: | bug-Astro-Catalog [...] rt.cpan.org |
From: | Paul Leyland <paul [...] leyland.vispa.com> |
My apologies, I hit Send too soon.
You may find this information helpful:
#-------------------------------------------------------------------------
uname -a
Linux thoth 5.3.0-19-generic #20-Ubuntu SMP Fri Oct 18 09:04:39 UTC 2019
x86_64 x86_64 x86_64 GNU/Linux
#-------------------------------------------------------------------------
perl -v
This is perl 5, version 28, subversion 1 (v5.28.1) built for
x86_64-linux-gnu-thread-multi
(with 61 registered patches, see perl -V for more detail)
#-------------------------------------------------------------------------
Graham Bell <https://metacpan.org/author/GSB> /Astro-Catalog-4.34
#-------------------------------------------------------------------------
Paul
On 27/04/2020 15:34, Paul Leyland wrote:
Show quoted text
> Hello,
>
> I'm trying to use Astro::Catalog::Query::Vizier to query the Gaia-DR2
> catalog, aka I/345/Gaia2. I'm not sure whether what I find is a bug, a
> misfeature or simply evidence of my incompetence. Sundry Web searches
> have not turned up anything useful.
>
> A minimal program is
>
> #-------------------------------------------------------------------------
>
> use Astro::Catalog::Query::Vizier;
>
> $gdr2c = new Astro::Catalog::Query::Vizier(
> Catalog => 'I/345/gaia2',
> Format => 'Simple',
> RA => '01 23 45.67',
> Dec => '-76 54 32.10',
> Radius => 5,
> Number => 1000,
> );
> my $catalog = $gdr2c->querydb();
>
> #-------------------------------------------------------------------------
>
> When run, it yields a number of warnings (one per star, presumably) as
> follows:
>
> #-------------------------------------------------------------------------
>
> Found unrecognised filter string: E_RP
> at /usr/local/share/perl/5.28.1/Astro/Catalog.pm line 914.
> Found unrecognised filter string: E_BP
> at /usr/local/share/perl/5.28.1/Astro/Catalog.pm line 914.
>
> #-------------------------------------------------------------------------
>
> Having UTSL, it suggests that I should poke around in Astro::Catalog::IO
> documentation as follows
>
> #-------------------------------------------------------------------------
>
> ReadOpt => Reference to hash of options to be forwarded onto the
> format specific catalogue reader. See the IO documentation
> for details.
>
> #-------------------------------------------------------------------------
>
> but I have yet to find any documentation for "perldoc
> Astro::Catalog::IO" and rummaging in the source hasn't turned up
> anything very enlightening.
>
> Can you help please?
>
> Best wishes,
>
> Paul.
>
>