Precipitation extraction for specific time intervals from NetCDF
Added by ibomcha meitei over 4 years ago
I have a NetCDF file having time-series starts from 2006-01-01 to 2100-12-31.
I used cdo -outputtab,date,lon,lat,value -remapnn,lon=-85.25_lat=31.57 pr.rcp85.canESM_SE_mm_day.nc> output1.txt
to extract whole time series from Netcdf.
How can I extract precipitation for a specific time interval says 2010-01-01 to 2019-12-31?
Thanks
pr.sample.nc (37.3 MB) pr.sample.nc |
Replies (3)
RE: Precipitation extraction for specific time intervals from NetCDF - Added by Karin Meier-Fleischer over 4 years ago
Hi Bijoy,
use the selyear operator
-selyear,2010/2019
-Karin
RE: Precipitation extraction for specific time intervals from NetCDF - Added by ibomcha meitei over 4 years ago
*correction to my code as input was for another file; cdo -outputtab,date,lon,lat,value -remapnn,lon=-85.25_lat=31.57 pr.sample.nc> output1.txt
RE: Precipitation extraction for specific time intervals from NetCDF - Added by ibomcha meitei over 4 years ago
Karin Meier-Fleischer wrote:
Hi Bijoy,
use the selyear operator
[...]
-Karin
Thanks karin