About 50 results
Open links in new tab
  1. Import netCDF file to Pandas dataframe - Stack Overflow

    Dec 26, 2012 · I am trying to read in a netCDF file, which I can do and then import that into a pandas dataframe. The netCDF file is 2D so I just want to 'dump it in'. I have tried the …

  2. .net - C# NetCDF Library - Stack Overflow

    Dec 1, 2016 · Here's the specification. Unfortunately, NetCDF-4 chose to use HDF-5 as its data format. It adds a lot of complexity and makes it much more difficult to write a complete NetCDF …

  3. Merge multiple NetCDF files with `cdo` or `nco` along a dimension …

    Apr 28, 2025 · The NetCDF files I'm working with have been modified using xarray—some variables were dropped and dimensions renamed. After that, the files were merged along the …

  4. Opinions on NetCDF vs HDF5 for storing scientific data?

    Jul 2, 2009 · NetCDF-4 exposes almost all the features of HDF5, including compression. H5utils will work on netCDF-4 files, which are also perfectly valid HDF5 files.

  5. xarray appending or rewriting a existing nc file - Stack Overflow

    Feb 16, 2021 · I want to rewrite or append an existing NetCDF file by using xarray. However, I need to read all data into the memory and concatenate them, then overwrite the NC file.

  6. interpolation - Regrid Netcdf file in python - Stack Overflow

    May 14, 2020 · I'm trying to regrid a NetCDF file from 0.125 degrees to 0.083-degree spatial scale. The netcdf contains 224 latitudes and 464 longitudes and it has daily data for one year. …

  7. Can't open in edit mode a netCDF file in Python - Stack Overflow

    Jul 3, 2023 · The error OSError: [Errno -101] NetCDF: HDF error may occurs if you try to open a file for reading and writing (with r+), but you are only allowed to read that file.

  8. Convert hdf5 to netcdf4 in bash, R, python, cdo or NCL?

    Feb 19, 2018 · Is there a quick and simple way to convert HDF5 files to netcdf (4) from the command line in bash? Alternatively a simple script that handle such a conversion …

  9. Export to netcdf / .nc file from a pandas DataFrame

    Jan 30, 2025 · I want to multiple data extract from cmip6 model data and save as netcdf file by using the following scripts: import pandas as pd import xarray as xr from netCDF4 import …

  10. add variable to an existing Netcdf4 file using Python

    4 I'd like to add an additional variable containing the Julian dates to an existing set of NetCDF climate data files. I've done a bit of python scripting but it has been a while so I'm rather rusty. …