silx-kit / jupyterlab-h5web

A JupyterLab extension to explore and visualize HDF5 file contents. Based on https://github.com/silx-kit/h5web.
MIT License
64 stars 8 forks source link

Handling netcdf files #123

Closed betolink closed 1 year ago

betolink commented 1 year ago

Is your feature request related to a problem? Please describe.

I think this plugin can handle netcdf files as they are CF compliant HDF files, I tested changing the file extension to some .nc files and it worked fine.

Describe the solution you'd like A clear and concise description of what you want to happen.

Would it be possible to include netcdf in the list of supported formats?

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

loichuder commented 1 year ago

Hello @betolink

The list of supported extensions is on https://github.com/silx-kit/jupyterlab-h5web/blob/main/src/fileType.ts#L14. We could indeed add .nc4 and .nc to mirror the extensions supported in vscode-h5web.

I will get to it this week

loichuder commented 1 year ago

Released in 11.0.0