I wanted to reduce the FSDS data in solar by 10%. Here is how I changed it using python:
for f in tqdm(files):
print(f)
data_x = nc.Dataset(f, 'a')
data_x.variables['FSDS'][:] = data_x.variables['FSDS'][:]
data_x.close()
But I found the following error:
(shr_stream_getCalendar) ERROR: nf90_open file /home/fangling/cesm/inputdata/l
mwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.S
olr.2002-01.nc
I wonder how I can achieve my goal.Does it need to be changed in Fortran?
If possible, could you provide me with an example?
Thank you very much.
for f in tqdm(files):
print(f)
data_x = nc.Dataset(f, 'a')
data_x.variables['FSDS'][:] = data_x.variables['FSDS'][:]
data_x.close()
But I found the following error:
(shr_stream_getCalendar) ERROR: nf90_open file /home/fangling/cesm/inputdata/l
mwg/atm_forcing.datm7.GSWP3.0.5d.v1.c170516/Solar/clmforc.GSWP3.c2011.0.5x0.5.S
olr.2002-01.nc
I wonder how I can achieve my goal.Does it need to be changed in Fortran?
If possible, could you provide me with an example?
Thank you very much.