I often finding myself wanting basic information about netCDF files when writing scripts that read/write netCDF files…
The following ncdump command provides a useful overview. The mapping grabs the clipboard register and opens the corresponding netcdf header in a new vim vertical split..
What about if you want to have a quick look at a plot of one of the variables? Works with ncview too!
Speaking of working with netCDF files, here’s a handy snippet for the python library…
In category: hpc