-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge NPT into GPT; Release GPT. #5
Comments
Refactor APIThe idea is to a more OO interface focused on data stores, managing data products and data sets in and out those stores. The primary functionality of a data store is a "search" function. Ultimately we want to get data products to we can analyse however necessary. To get products "X, Y, Z", we need first to know about their existence; Hence, the "search" function. Back in the days, this library was developed from the store, then went down to the (data) products. Data StoreA (spatial) data product is composed by at least one data file, besides the metadata. The structure of the data product -- i.e., type and quantity of files and metadata schema -- varies from dataset to dataset. How to handle the metadata/data set is the task of the data store, which defines methods/actions to manage the product(s) In terms of implementation, we have a Data Store, with one or more Datasets, with one or more Data Products.
Methods data stores should implement:
The writing method is implicit in any data move, for instance, when downloading or transforming data. Let's go through a typical workflow when handling images from NASA planetary remote-sensing missions. Let's consider the Mars Reconnaissance Orbiter (MRO) Context camera's (CTX) Experiment Data Record (EDR) dataset. ODE data products are usually composed by multiple ancillary files: images, shapefiles, other/more metadata
In this workflow we are working with two data stores, "ODE" and "Local"; And two datasets, "EDR" and "Science-Ready". Data store interface
List of available data stores:
Connect to a data store:
List datasets:
Create a handler for CTX (EDR):
Search CTX data products:
Download CTX products:
At this point, "images" from the CTX/EDR dataset are downloaded to the local data store at Suppose that when we did the search we got one product as result, product "XYZ", with an associated image "XYZ.IMG".
|
NPT developed in parallel and diverged from GPT. It has a cleaner interface for ODE and is stable in the data reduction pipeline. The specific code blocks to be merged are not clear yet.
Tasks:
The text was updated successfully, but these errors were encountered: