eaobservatory / omp-perl

Observation Management Project -- Perl component
2 stars 1 forks source link

OMP::ArchiveDB::getObs doesn't work as documented #1

Open grahambell opened 9 years ago

grahambell commented 9 years ago

The example says you can do:

$obsinfo = $db->getObs( obsid => $obsid );

But you can't, this error occurs internally:

Unable to get date range from query

And it silently returns no results.

timj commented 9 years ago

Didn't this get filed back in October? I think it's documenting the intent rather than the implementation. The obsid alone is obviously sufficient to obtain an observation object but it seems like it was never done. Shouldn't be very hard. Should be easy to add it to the Query XML.