This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
UC6 operations demo
Jānis Gailis edited this page Jan 19, 2017
·
2 revisions
- Long Term Average tool for monthly datasets
- Arithmetics operations
- Anomaly calculation with long term average dataset as a reference
- Anomaly calculation with reference internal to the given dataset
To gather info about new operations use
cate op list
cate op info <op_name>
To find data sources:
cate ds list -n <name>
To initialize the workspace:
cate ws new
cate res set cl_lta long_term_average source='esacci.CLOUD.mon.L3C.CLD_PRODUCTS.AVHRR.NOAA-17.AVHRR_NOAA.1-0.r1' year_min=2007 year_max=2008 file='/path/where/to/save/lta.nc' var='cc*'
cate res open cl esacci.CLOUD.mon.L3C.CLD_PRODUCTS.AVHRR.NOAA-17.AVHRR_NOAA.1-0.r1 2007-01-01 2008-01-01
cate res set cl_cc select_var ds=cl var='cc*'
cate res set cl_cc_ar arithmetics ds=cl_cc op='log,+5'
cate res write cl_cc_ar '/where/to/save/cl_cc_ar.nc'
cate res set cl_cc_anom anomaly_climatology ds=cl_cc file='/path/to/lta.nc'
cate res write cl_cc_anom 'where/to/save/cl_cc_anom.nc'
cate res set cl_cc_anom_in anomaly_internal ds=cl_cc start_date='2007-01-01' end_date='2007-01-31' lat_min=-40 lat_max=40 lon_min=-40 lon_max=40
cate res write cl_cc_anom_in '/where/to/save/cl_cc_anom_in.nc'