Project

General

Profile

How to change default environment varibles in CDO

Added by Amit Kumar over 8 years ago

Hi all,

can u please tell me how to change default environment variable in cdo like CDO_GRIDSEARCH_RADIUS for remapdis is set to 180 degree by default, how to change it for user preference.
Thanks in advance.


Replies (4)

RE: How to change default environment varibles in CDO - Added by Amit Kumar over 7 years ago

hi Uwe,

I have tried this for bash shell but the output result remains the same. it is not changing by changing the search radius. I tried this but the results were same.
CDO_GRIDSEARCH_RADIUS=1.25
export CDO_GRIDSEARCH_RADIUS

RE: How to change default environment varibles in CDO - Added by Amit Kumar over 7 years ago

also
CDO_REMAP_SEARCH_RADIUS=1.25
export CDO_REMAP_SEARCH_RADIUS
but still the same result

RE: How to change default environment varibles in CDO - Added by Uwe Schulzweida over 7 years ago

The environment variable CDO_GRIDSEARCH_RADIUS is more a performance feature for the CDO operators remapnn and remapdis. These operators are faster if you set this variable close to the cell size of the source grid. The result should be the same.

    (1-4/4)