Open files in VS Code and Cursor / Science data

Compare two NetCDF files

To check a model run against a reference without nccmp or a Python script, install NetCDF Viewer & HDF5 Viewer by Zovo in VS Code, open one file and click "Compare with...", or select two files in the Explorer. It lists variables in one file only and changed shapes, types and attributes, then reads every value of every numeric variable in both files after CF decoding. Per variable you get the max and mean absolute difference, RMSE, how many values differ and where the largest difference is. Viewing is free; the compare is Zovo Pro (USD 19 once) with 3 free tries.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)JetBrains IDEs

Free, MIT license. Extension ID zovo.hdf5-netcdf-explorer, version 0.6.3. Needs VS Code 1.90.0 or newer.

Compare argo.nc vs argo-b.nc in VS Code: /temp changed with max abs diff 1.5 and one value that differs, /station not compared, /depth, /salinity and /time identical
Compare argo.nc vs argo-b.nc in VS Code: /temp changed with max abs diff 1.5 and one value that differs, /station not compared, /depth, /salinity and /time identical.

Steps in VS Code

  1. Install NetCDF Viewer & HDF5 Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.hdf5-netcdf-explorer.
  2. Click a .nc, .h5 or .hdf5 file. It opens with the variable tree and the file overview.
  3. Click "Compare with..." at the top of the viewer and pick the second file, or select both files in the Explorer and compare from the right-click menu.
  4. Tick "Only variables that differ". The largest difference is given as an index, for example time=3, latitude=120, longitude=40.
  5. Save the report as CSV, Markdown or JSON.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.hdf5-netcdf-explorer and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/hdf5-netcdf-explorer.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What NetCDF Viewer & HDF5 Viewer handles

What it does not do

Free and Zovo Pro

Free, and staying free: every format, the tree, attributes, the table, plots and maps with coastlines, Play, time series, Save PNG and Export slice.

Zovo Pro adds these tools to NetCDF Viewer. Each one works 3 times on your computer before it asks for a license. Nothing about Pro shows when you open a file: no popup, no countdown, no banner.

Zovo Pro costs USD 19 once. It is not a subscription, and one purchase covers every Zovo VS Code extension. Today it also covers the Pro tools in Hex Viewer, Postgres & MySQL Query Client and DOCX Viewer, and Pro tools added to other Zovo extensions later.

Two ways to unlock it:

  1. GitHub Sponsors: pick the "$19 one time" tier. Then, in VS Code, click a Pro tool and pick "Unlock with GitHub Sponsors" (or type "GitHub Sponsors" in the Command Palette) and sign in with the same GitHub account. A monthly sponsorship of USD 10 or more that is still running counts too.
  2. PayPal, no GitHub account needed: send USD 19 by PayPal with "Zovo Pro" in the note, then post the transaction ID with the Zovo Pro key form (a public GitHub issue, so post only the ID). The license key goes to the email address of your PayPal account within a day. Click a Pro tool and pick "I have a license key" (or type "license key" in the Command Palette) and paste it. The key is checked on your computer, with no network call.

A team of 5: USD 59 once by PayPal, with "Zovo Pro Team" in the note. Every rule and every Pro tool is on the Zovo Pro page.

In JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion and others)

Other options

Install counts and Open VSX status were checked on 9 November 2026. Descriptions in quotes are the extensions' own.

Questions

Do I need Python, NCO or nccmp?

No. The viewer reads NetCDF and HDF5 itself.

Does a packed file compare equal to its unpacked copy?

Yes. Values are compared after scale_factor, add_offset and fill values are applied.

What is free?

The tree, attributes, table, plots and maps, Play, time series, Save PNG and Export slice. Compare and Export a subset are Zovo Pro, USD 19 once, with 3 free tries each.

More about NetCDF Viewer & HDF5 Viewer

Read the NetCDF Viewer & HDF5 Viewer page for every feature and setting, or the source code on GitHub.

Zovo Pro and support

Zovo Pro: USD 19 once, every Zovo viewer. It turns on the Pro tools in this extension and in the other Zovo extensions you use. The free features stay free.

After a card payment your license key shows on the next page. Paste it with the command "Zovo Pro: Enter a key".

You can also support the work with no Pro:

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.