Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Single point simulation with own atmospheric forcing

Hello,

I converted meteorological data from csv to netcdf and tried to force my created surface data with this atmospheric data. Unfortunately the simulation stops with the error:

HTML:
(datm_comp_init)  atm_in   = datm_atm_in
(datm_comp_init)  decomp   = 1d
(datm_comp_init)  iradsw   =        1
(datm_comp_init)  factorFn = unused
(datm_comp_init)  restfilm = undefined
(datm_comp_init)  restfils = undefined
(datm_comp_init)  presaero =  T
(shr_strdata_readnml) reading input namelist file: datm_atm_in
(shr_stream_init) Reading file clm1PT.1x1_rollesbroich.stream.txt
(shr_sys_abort) ERROR: (shr_stream_getCalendar)  ERROR: nf90_open file /home/swieneke/inputdata/atm/datm7/CLM1PT_data/1x1_rollesbroich/2012-01.nc
(shr_sys_abort) WARNING: calling shr_mpi_abort() and stopping

My netcdf looks like this:

HTML:
dimensions:
	time = UNLIMITED ; // (4464 currently)
	lat = 1 ;
	lon = 1 ;
variables:
	int time(time) ;
		time:units = "minutes since 2012-01-01 00:00:00.0" ;
		time:calendar = "gregorian" ;
	float latitude(lat) ;
	float longitude(lon) ;
	float ZBOT(time) ;
		ZBOT:units = "m" ;
	float TBOT(time) ;
		TBOT:units = "K" ;
	float WIND(time) ;
		WIND:units = "m/s" ;
	float FSDS(time) ;
		FSDS:units = "W/m^2" ;
	float FLDS(time) ;
		FLDS:units = "W/m^2" ;
	float PSRF(time) ;
		PSRF:units = "Pa" ;
	float PRECTmms(time) ;
		PRECTmms:units = "mm/s" ;
	float RH(time) ;
		RH:units = "%" ;
}

I guess my NetCDF file is incorrect, anyone an idea where the error occur?

Another question:
My CASE is configured to start on 2012-05-01 and end after one month. Is it correct that even if i want to simulate one month i have to provide data for the whole year?

Cheers

Sebastian
 
Hi thunderhm,

thanks for your advice. I changed the NetCDF to days, but unfortunately I get the same error. My atmospheric input is in 10 minute interval. Can CLM4 handle this time resolution? Or is 30 min the minimum?

Cheers

Sebastian
 
Hi Sebastian

We are using the datm data with 1 hour interval. It works. The time units are "0.04166667, 0.08333334, 0.125 ... 29.95833" in a monthly data file. I guess CLM4.0 can handle any time solutions.
So ,in your case, maybe it is due to other problems.

Huimin, Lei
 
Hi Huimin, Lei

My Time Units look similar. But I expect that there is another error in my NetCDF or perhaps in the stream files. In the Users Guide is writen that you have to edit the streaming files. But when I edit the variable names and started the simulation, the scripts overwrite them with a default stream file. Do i edit the dtreamingfile in the wrong directory? (/home/$USER/cesm1_0_4/$CASE/run)

Thanks for your help Huimin, Lei. Iam grateful for any help/advice.

Sebastian
 
Hi, Sebastian,
I think you can edit the stream file in the run directory. But If you re-build the model after your revision, the stream file will be overwritten by the file in the directory: case/Tools/Templates.
So I recommend to edit the stream file in this direcctory if you have already new a case. Note: if you new a case, you should edit again becuase the file in case/Tools/Templates is actually from models/atm/datm/bld/
 
Top