nsidc / granule-metgen

Metadata generator for direct-to-Cumulus era
Other
0 stars 0 forks source link

Assess whether granulemeta is useful for this project. #6

Closed juliacollins closed 1 month ago

juliacollins commented 1 month ago

Review notes:

High level summary: Half ofgranulemeta might be relevant to our workflow for the use cases in which we need to read data (science) files and extract information, but the output doesn't support our needs. Additionally, the code for specific data file types is integrated into the tool's code base, and we'd like to figure out a flexible way to add new "file type readers" in a less-tightly-coupled fashion.

granulemeta writes an output file containing information about all granules in a collection, one granule per line in CSV format. The workflow doesn't map directly to our proposed architecture, since we need to create a UMM-G file for each granule.

Geospatial information is conveyed by way of well-known text and proj4 summary strings, but no GeoJSON (Gpolygon) content is included in the output table entry for each granule. We would have extend the code with new options, or add follow-on processing steps, to generate individual UMM-G files. We would also need to extend the code to handle GPolygon details for the datasets requiring that form of geospatial representation.

The code base might be useful as a reference example for:

lisakaser commented 1 month ago

Thanks @juliacollins Tagging @eigenbeam for awareness and closing the issue