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
2 answers

Extract certain values out of netCDF

I ve a netCDF file with 3 Dimensions. The first dimension is the longitude and reaches from 1-464. The second dimension is the latitude and reaches from 1-201. The third dimension is time and reaches from 1-5479. Now I want to extract certain values…
burton030
  • 405
  • 4
  • 8
  • 23
-1
votes
1 answer

Downloading ERA5-Land to get daily total precipitataion

I am trying to understand on what @Rainfall.NZ saying on this answer: https://stackoverflow.com/a/67258594 related to ERA5-Land Hourly precipitation and ERA5 Reanalysis Hourly precipitation are different. See…
user97103
  • 235
  • 1
  • 7
-1
votes
1 answer

Unit of integrated vapor transport (IVT)

I am trying to calculate IVT from ERA5 data. But my values are not matching with other published papers. The values in the paper are in the range of 100-1000 but i am getting the values which are less than 1. I think i am making mistakes in the…
-1
votes
1 answer

Cannot create a cdo instance in python

My python version is 3.10.6. I want to create an instance of a Cdo object in python (https://pypi.org/project/cdo/). from cdo import * cdo = Cdo() Howerver, I am getting the following error: /usr/bin/python3.10…
-1
votes
1 answer

Normalization data by CDO / NCO

I tried to do normalized data(sfcWind) by the following codes as a new user. But it seems to be the incorrect results. Can anybody correct us cdo timmax infil.nc Imax.nc cdo timmin infil.nc Imin.nc cdo sub Imax.nc Imin.nc A.nc cdo sub infil.nc…
Abid
  • 3
  • 2
-1
votes
1 answer

How can i compute spatial statistics in grid space of two NetCDF files?

I have two files with the same spatial and temporal dimension, with ERA5_w1 being the observation and CCMP_w1 being the forecast file. I wonder how I can calculate the R-M-S-E to get a spatial distribution of the R-M-S-E over the 28 timesteps in a…
-1
votes
1 answer

cdo:(Abort): Unprocessed Input, could not process all Operators/Files

I am trying to use billinear interpolation to extract a specific location from my file but I get the error: cdo:(Abort): Unprocessed Input, could not process all Operators/Files cdo remapbil,lon = 12/lat=55 1979-1982_d.nc 1979-1984_cph.nc Any idea?
los
  • 1
  • 1
-1
votes
1 answer

Calculate daily precipitation between 12pm and 12pm of the other day

I have a .nc file that contains data every 1 hour of precipitation, my interest is to add the daily precipitation. But for this I have to take into account the precipitation between 12 pm on one day and 12 pm on the other, so I cannot apply "daysum"…
-1
votes
1 answer

Why different software and commands are producing different results in calculating daily mean from ERA5 hourly data?

Basically, this is a repost or follow-up from How to calculate daily average from ERA5 hourly netCDF data? I have four atmospheric variables, viz. dew point temperature, longwave radiation, shortwave radiation, and wind speed (calculated from u10…
Soumik Das
  • 9
  • 2
  • 5
-1
votes
2 answers

Division of climate variable from to nc files

I would like to divide a given variable prob from a file of future climate AK2100.nc with the same variable from the file of contemporary time AK.nc. I tried this cdo div AK2100.nc AK.nc division-AK2100.nc But it divided all the three variables,…
Thomas
  • 441
  • 3
  • 16
-1
votes
2 answers

NetCDF variables contain non-matching latitudes

I have two netcdf data (precipitation and potential evapotranspiration). I have clipped both data based on bounding box, so both has same dimension. I try to do simple calculation, but receiving an error Precipitation and PET variables contain…
user97103
  • 235
  • 1
  • 7
-1
votes
2 answers

GeoTIFF to NetCDF with time variable enabled

I have thousand GeoTIFF files (monthly precipitation from 1981) and would like to convert it into single NetCDF with time dimension enabled. I have read various similar thread in StackOverflow and GIS StackExchange, but could not find the best…
user97103
  • 235
  • 1
  • 7
-1
votes
1 answer

How to merge multiple nc files in linux using cdo

I'm using Linux and I want to merge nc files into one. I have downloaded on this website. There are lots of netcdf files (more than 1000) that takes a lot of time to merge if merging manually, copy and paste one by one. I think about using vi…
Minh Hiếu
  • 39
  • 1
  • 8
-1
votes
1 answer

How to regrid variables in a netcdf file to another grid such that the fluxes, mass and other fields remain conserved

I want to regrid my variable to a file in such a way that the fluxes and other important conservation fields remain conserved and there is no violation of conservation laws.
tech_climate
  • 153
  • 6
-1
votes
2 answers

Average variable values across coordinates within NetCDF before importing into R as Raster Brick?

Is there a way to average values in a NetCDF file over a given list of lat/lon coordinates using nco before using R to convert it into a Raster Brick? This list of lat/lon coordinates represents a non-rectangular region. Right now, I have an .nc…
zoek
  • 141
  • 1
  • 7
1 2 3
21
22