I downloaded 30 year rainfall data (1976-2005) in NETCDF format from Climate Data Store. When I plotted a time series of the data, I could see that for July 2005 values are abnormally higher than for same period in previous years. That is probably an error in the data that needs correction. I am unable to find a way to change the values for the period and replace it with average rainfall values for July period. I tried doing it using cdo but could not find a way out. How can I do that using cdo, R or any other tool?
Edit values for a particular variable in a NETCDF file
157 Views Asked by Mayweed At
1
There are 1 best solutions below
Related Questions in NETCDF
- spectrogram for a .cdf file
- Writing lat long co-ordinates for an 2-d array and making a .nc file out of it
- using terra to plot a netcdf returning an error
- Assigning values to numpy array based on multiple conditions of multiple array
- How to create two separate sets of data (one for daylight hours and another for nighttime hours) from hourly netcdf model output using CDO
- Matrix to Array conversion is increasing the size massively in R
- convert dataframe to netcdf multidimension using python
- How do I extract all the values from one variable in a NetCDF file with Python?
- Unexpected layer name when reading NetCDF file using terra and raster R packages
- Dynamic loader missing symbol abort trap signal in Fortran runtime
- How to setup the netCDF4 package in multistage docker build?
- CDO -extracting of specific region
- Xarray- ValueError: unrecognized chunk manager dask - must be one of: []
- How do I prevent xarray.Dataset.to_netcdf() forcibly reordering the dimensions to put 'time' first?
- Regridding using CDO
Related Questions in CDO-CLIMATE
- How to create two separate sets of data (one for daylight hours and another for nighttime hours) from hourly netcdf model output using CDO
- How to solve Error in system2(\"cdo\", cmd.args, stdout = TRUE) : '\"cdo\"' not found\n"?
- Rotating large netcdf files with multiple variables
- CDO -extracting of specific region
- How do I prevent xarray.Dataset.to_netcdf() forcibly reordering the dimensions to put 'time' first?
- Regridding using CDO
- How to extract the values from a gridded data only along a straight line consisting of multiple latitude and longitude pair points
- NetCDF: calculate annual sum of precipitation along all coordinates using MSWEP reanalysis dataset
- Why the error with cdo mergetime: cdo (Abort): Operator name missing
- a shell script to do 'cdo' operation on multiple Netcdf file embedded in multiple folders
- how to I add a specific variable from a list of netcdf files to a different one?
- cdo remapdis (Abort): proj library support not compiled in
- Any sed option to stop matching when one line number is reached?
- Edit values for a particular variable in a NETCDF file
- Python xarray, numpy, matplotlib netcdf masking ocean?
Related Questions in CDS.COPERNICUS
- Rename output file with ERA5 daily statistics calculator API
- Edit values for a particular variable in a NETCDF file
- How to migrate from the old sentinelsat (Copernicus Open Access Hub) to the new Copernicus Data Space Ecosystem?
- merging .nc files of copernicus
- processing copernicus dataset
- Trouble visualizing gridded Copernicus Marine data on a map after transforming it to a GeoDataFrame
- How to treat overlapping time from forecast steps?
- Land cover classification is displayed incorrectly
- How to avoid keyring password while submitting job on slurm?
- Issue to automize download of data with cds api
- Unit of integrated vapor transport (IVT)
- How to download multiple NC files of ERA5 data using CDS API in python?
- Google Colab - Not able to import API key file
- Issue too access CDS data with xarray
- how add extra parameters in a custom function in Python
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well I could answer this directly, but I'm going to risk the wrath of the "this doesn't answer the question" down-voter police by suggesting that this is perhaps not the best way to go. Firstly, it is misleading to insert data that is just a climatology (you would need to flag it in the meta data at the very least) and secondly, if you intend to use this for any applications they will likely give incorrect results if you pass smooth climate averages rather than a typical on-off rain series as most applications (crop production, vector borne health impacts, hydro-electricity production etc etc) are strongly nonlinear functions of rainfall, which is a non-smooth variable.
Thus the usual thing to do would be to flag this as missing. If you know your bad range starts from e.g. X upwards, then set a range to missing like this