Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
Dear Jason,
A little while back you sent me a demo for querying information
directly from Python using a SST example from the MODIS time
series. I had some time to dig a little deeper and have a couple of
questions about the GeoEco data model.
You set up something along the following lines:
from GeoEco.DataProducts.NASA.PODAAC import MODISL3SSTTimeSeries
grid = MODISL3SSTTimeSeries('Aqua', 'Monthly', '4km', 'sst')
and then mapped the time-space coordinates to indices and queried.
My questions are as follows:
- If my query spans a region, how do I determine the resolution
at which it is gridded? Clearly one knows this from the
constructor parameters, but I would like to provide defaults for
callers to simplify queries. I see that there is a set of
queryable attributes, and I assume that TemporalResolution or
SpatialResolution should somehow be queried. I can retrieve the
attribute, but when I look at the methods and dictionary
associated with the QueryableAttribute class I do not see
anything that would let me know that my scale is 4 km or that
measurements are taken daily.
- Once I query it with grid.Data(...), how do I pull the values
associated with the data (e.g. long/lat of each point for which
data was actually returned)? Is there a simple way to pull the
index labels associated with the query?
- Is kriging supported?
- Is there a way to determine what the possible parameters can
be programatically? I see in the PODAAC.MODISL3SSTTimeSeries
class that these appear to be hardcoded, but they should be
derivable from the Thredds catalog. In principal, I would think
that a classmethod could be written to return valid values. Has
this been done?
- How is the data cache associated with the DataSetCollection
used? Is it set explicitly? How/when is the cache purged? It
seems like this is associated with instances rather than
classes, so I'm assuming it would make sense to save instances
when they are created (unless we simply set the cache
directories for each instance to point to the same place). Are
datasets thread safe?
Thanks so much,
Marie
--
Marie Roch
Associate Professor of Computer Science
San Diego State University
Visiting Scholar
Scripps Institution of Oceanography
http://roch.sdsu.edu
SDSU - Tel: 619 594-5830 Fax: 619 594-6746
SIO - Tel: 858 534-7280
|
- [mget-help] understanding attributes of objects — Marie Roch
<
<