Extract specific no of data from nedCDF files using python

David Lowry-Duda david at lowryduda.com
Thu Feb 24 15:03:17 EST 2022


> Hi.I am learning python and I am working with some netCDF files. 
> Suppose I have temperature data from 1950-2020 and I want data for 
> only 1960-2015. How should I extract it. -- 

Alternately, use https://unidata.github.io/netcdf4-python/ or gdal.

It might also be possible to read
https://stackoverflow.com/questions/14035148/import-netcdf-file-to-pandas-dataframe
and using pandas dataframes to organize your data, if desired.

Good luck!

- DLD


More information about the Python-list mailing list