cioos-siooc / ocean-data-parser

A Python package for parsing oceanographic proprietary data formats to xarray Dataset.
https://cioos-siooc.github.io/ocean-data-parser/
GNU General Public License v3.0
4 stars 1 forks source link

Add the ability to include global attribute/variables to dataset by mapping files/global attributes to a given list. #72

Closed JessyBarrette closed 2 months ago

JessyBarrette commented 7 months ago

Different groups are providing external reference files which contains information associated with each files sometimes specific to a global attribute or the file name itself (ex: mission_id).

The matching term are associated with extra information which is needs to be added to the resulting dataset.

In a lot of cases, we've used a number of csv files and map one column to a specific attribute, on matching attributes then the whole line is then added as column to the resulting dataset.

It will be great to have the ability to a similar feature to the ocean-data-parser batch mode.