Skip to content
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

Review of converted NetCDF files #27

Closed
JessyBarrette opened this issue Feb 12, 2021 · 1 comment
Closed

Review of converted NetCDF files #27

JessyBarrette opened this issue Feb 12, 2021 · 1 comment

Comments

@JessyBarrette
Copy link
Collaborator

The OCE package seems to be the preferred way to convert the ODF files to NetCDF. However, another simple way would be to just parse the ODF header format and data directly by using a simple method like described here.

This method essentially parses the ODF header into a list of dictionaries.
Data can then be easily converted to a python pandas dataframe and python xarray dataset. Original attributes from the ODF format can be easily carried on to the xarray dataset which can be saved to a nc file easily.

@pramod-thupaki
Copy link
Contributor

Duplicate of #26

@pramod-thupaki pramod-thupaki marked this as a duplicate of #26 Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants