Project

General

Profile

RE: How to turn 360 day calendars into 365 days in CDO? » NETCDFCODINGlast (1).py

ibrahim erkol, 2022-04-09 12:08

 


import netCDF4 as nc
import numpy as np
fn = 'C:/Users/Asus/Documents/ArcGIS/ArcGIS - Copy/evaporation/TEMP_HADGEM_rcp85_DAILY20152100AYDINMEAN.nc'
ds = nc.Dataset(fn)
prec = ds['tas']
np.savetxt("HADGEM_AYDIN_TEMP85NEW.csv", prec[0:30630, 0, 0], delimiter=",")
(3-3/3)