Questions tagged [cdo-climate]

Climate Data Operators (CDO) is a collection of command line Operators to manipulate and analyse gridded datasets in the supported data formats of netCDF 3/4, GRIB 1/2, SERVICE, EXTRA and IEG. There are more than 600 operators available. Many functions are generic (spatial/temporal means, variances, regridding, trends, EOF, covariances, correlations) while others are aimed particularly at analyzing climate and weather data (e.g. seasonal statistics).

Climate Data Operators (CDO) is a collection of command line Operators to manipulate and analyse gridded datasets in the supported data formats of GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more than 600 operators available. While many of these functions are general (spacial and temporal statistics such as averages and variance, regridding, subsetting, concatenating etc), Many functions are particularly aimed analysing climate and numerical weather prediction model data. Full documentation is available at https://code.mpimet.mpg.de/projects/cdo/

325 questions
0
votes
1 answer

How to fetch the data date wise from netCDF or .grd file in CDO software?

I have data files of min/max temperature in .grd or netCDF format. From these files, I want to fetch the data date wise for India lat/long points only using CDO or grADS software. The data format…
Rohit Sharma
  • 23
  • 1
  • 10
0
votes
1 answer

CDO Open failed on *.nc no such file or directory

I am new with CDO, and wanted to use it to merge several netcdf files on the time variable with cdo mergetime pr_Amon_IITM-ESM_historical_r1i1p1f1_gn_199001-199912.nc pr_Amon_IITM-ESM_historical_r1i1p1f1_gn_201001-201412.nc output.nc I just…
0
votes
0 answers

Open failed on >infile.nc< No such file or Directory using Cygwin64

I have installed cygwin64 in Windows 10 all packages and the installation was successfully. I have also downloaded CDO version 1.9.8 and copied to to bin folder (C:/Cygwin64/Bin). I also change my directory to C:/Cygwin64/Bin but when i am using the…
Ayoubi
  • 1
0
votes
0 answers

CDO climate data operator stopped working in Cygwin (Win8)

My Cygwin suddenly started to give problems running CDO commands: cdo -sinfo file.nc cdo sinfo: Open failed on >file.nc< Unknown Error I was operating on this file until few weeks ago. Both Cygwin and CDO should be up to date, so…
Nemesi
  • 781
  • 3
  • 13
  • 29
0
votes
1 answer

ncks: ERROR received 3 filenames; need no more than two

I have six CSV files which I have sent in this link (https://drive.google.com/drive/folders/1GQtyY1mI1YrK8GFP9SEo7dZfFHexKro3?usp=sharing). Each of these files has 720 rows and 360 columns which indicates longitude and latitude respectively. The…
Nazanin
  • 29
  • 3
0
votes
3 answers

Aggregate different netcdf variables and write output

I have a netcdf files with 3 variables, nammed v1, v2, v3. I would like to aggregate those variables and create a new variable v4, as follow: v4 = (v1*0.1)+(v2*0.2)+(v3*0.2) I know how to aggregate 2 variables using cdo : cdo expr,’sum=var1+var2;’…
steve
  • 511
  • 1
  • 9
  • 33
0
votes
0 answers

Regrid, from 0.5 deg to 0.05deg CDO/NCO

I have two .nc files: zmksrf_lai.nc, and zmksrf_pft.nc. I want to interpolate the 0.5 degree LAI file into 0.05 degree PFT file, so that I have high resolution LAI data. I tried CDO, and also ncremap, but did not work. Your suggestion is highly…
user3652962
  • 453
  • 1
  • 4
  • 13
0
votes
1 answer

netcdf - CDO monmean

I have a netcdf file, with a daily time step, that I wish to convert to a monthly time step. The time is formatted as follow: double time(time) ; time:standard_name = "time" ; time:long_name = "time" ; …
steve
  • 511
  • 1
  • 9
  • 33
0
votes
0 answers

CDO remapcon: verify mass conservation

I have a netCDF file which I would like to regrid to a coarser grid and a smaller area. I used cdo remapcon in order to conserve the mass of my variables and the output netCDF file looks promising so far. However, I would like to make sure that the…
Maja
  • 56
  • 1
0
votes
1 answer

How to read multiple NetCDF files from MODIS which have variables in groups?

Recently I tried to read MODIS Cloud properties data. I tried to merge/ combine MOIDS NetCDF files however both ncrcat or CDO didn't work. Then I found that variables data in MODIS was collected in each…
Yuhang Pan
  • 35
  • 1
  • 1
  • 6
0
votes
2 answers

How do I slice a range that occur every nth time?

I have a nc file in which the time variable is a bit weird. It is not a gregorian calendar but a simple 365-day-a-year calendar (i.e. leap years are not included). This means the unit is also a bit off, but nothing too worrisome. xarray.DataArray…
Thomas
  • 441
  • 3
  • 16
0
votes
2 answers

Ploting a concatenated netCDF does not give desired plot

I concatenaded 31 netcdf files using ncrcat.I then oppend the output file in jupyter notebook and tried to create a plot in respect with time,but I get the following ,any fixes?
user13854503
0
votes
1 answer

multiply variables in two NetCDF files in single command

I have two netcdf files: file_1.nc with variables qty_1 and qty_2 and file_2.nc with variables qty_3, qty_4 and qty_5. I want a file with 3 variables qty_3=qty_3*qty_2; qty_4=qty_4+qty_2 and qty_5. Now I am first copying the variables to file_2…
amo
  • 99
  • 1
  • 7
0
votes
1 answer

How can i split a netCDF file with conditions

I'm working with a netCDF file with a spatially averaged wind variable, which is a function of time only. I would like to split the file into years with east wind and years with west wind. I thought I would do it with cdo but I don't know how to…
Valeria
  • 1
  • 2
0
votes
1 answer

Installing cdo - libproj13 is missing

Dear proj and cdo specialists, I am trying to install cdo (climate data operator) on Ubuntu 18.04. I have gdal 3.0.0 and proj 7.0.1 installed. There are some missing dependencies which cannot be installed. It boils down to the point where it says…
przell
  • 11
  • 1