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

hycoef_read: ERROR: file lev does not match model. lev (file, model): 56 32

shiwansha

Shiwansha Mishra
New Member
Dear sir/madam

I have successfully build cam6 with the configuration mentioned below.

compset : HIST_CAM60_CLM50%BGC-CROP_CICE%PRES_DOCN%DOM_MOSART_CISM2%NOEVOLVE_SWAV
grid : f05_f05_mg17

Model is crashed with the following error:

---------------------
Opened existing file
/home/cas/faculty/dilipganguly/cesm/inputdata/atm/cam/inic/fv/cami-mam3_0000-01
-01_0.47x0.63_L56_c181125.nc 65536
Opened existing file
/home/cas/phd/asz178027/CSM/Dynamical_Downscaling/CAM6_Benchmarking/missing_inp
ut_data/fv_0.47x0.63_nc3000_Co030_Fi001_PF_nullRR_Nsw021_20171023.nc
131072
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
ERROR: hycoef_read: ERROR: file lev does not match model.
ERROR: hycoef_read: ERROR: file lev does not match model.
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
ERROR: hycoef_read: ERROR: file lev does not match model.
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
ERROR: hycoef_read: ERROR: file lev does not match model.
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
ERROR: hycoef_read: ERROR: file lev does not match model.
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
ERROR: hycoef_read: ERROR: file lev does not match model.
hycoef_read: ERROR: file lev does not match model. lev (file, model):
56 32
----------------------------------------

I have attached the log files and atm_in file.

What should I do to resolve this issue?

Thanks
Shiwansha.
 

Attachments

  • atm.log.38603.pbshpc.240307-151313.txt
    13.6 KB · Views: 1
  • atm_in.txt
    19.4 KB · Views: 4
  • cesm.log.38603.pbshpc.240307-151313.txt
    545.2 KB · Views: 3

Zoey

Zhuyi Wang
New Member
Have you solved this problem? I've met the same problem: hycoef_read: ERROR: file lev does not match model. lev (file, model)
 

shiwansha

Shiwansha Mishra
New Member
Hi Wang,

I haven't been able to solve this issue yet, and I'm still waiting for someone to respond.
 

islas

Member
It looks like you are specifying an initial conditions file that does not have the same number of levels as the model configuration you are trying to use. By default CAM6 has 32 levels. The file you are reading in from this location

/home/cas/faculty/dilipganguly/cesm/inputdata/atm/cam/inic/fv/cami-mam3_0000-01-01_0.47x0.63_L56_c181125.nc

looks like it has 56 levels, at least judging by the "L56" in the name and the error you're getting. Depending on what your goal is, you have two choices. If you would like to use the default CAM6 with 32 levels then you will need to set ncdata in user_nl_cam to point toward an initial condition file that contains the right levels. If you want to use the non-standard 56 levels that are in the initial condition file you'll need to configure CAM to use 56 levels, by setting nlev in CAM_CONFIG_OPTS e.g., from your case directory

./xmlchange --append --file env_build.xml -id CAM_CONFIG_OPTS --val="-nlev=56"

But note that CAM6 is not supported with this vertical resolution and it will likely affect the behavior of your simulation, particularly if you're changing the resolution in the lower troposphere. Although it looks like you might be using an unsupported horizontal resolution anyway.
 

shiwansha

Shiwansha Mishra
New Member
Dear Islas,

Thanks for the quick response.

During the case build, it did not find the required file related to bnd_topo (&cam_initfiles_nl). I searched the related file in the input data using the link (https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/atm/cam/topo/) and found this file (fv_0.47x0.63_nc3000_Co030_Fi001_PF_nullRR_Nsw021_20171023.nc). This I fed in the usr_nl_cam and successfully built the case. But, I got the mentioned error during run time.
-----------------------------------------------
&cam_initfiles_nl
bnd_topo = '/home/cas/phd/asz178027/CSM/Dynamical_Downscaling/CAM6_Benchmarking/missing_input_data/fv_0.47x0.63_nc3000_Co030_Fi001_PF_nullRR_Nsw021_20171023.nc
-----------------------------------------------

I don't have any intention to change the levels to L56. Please provide me the same file which supports L32.

Thanks
 

islas

Member
It looks like you're using an unsupported horizontal resolution which is probably why you can't find the initial conditions. L30 was used in CAM5 so these may be initial condition files for CAM5. If you don't care too much about how exactly you initialize your simulation, you may consider doing the following to just try to get an initial state that will work:

(1) Create a case using the more standard f09_f09_mg17 resolution.
(2) Run ./preview_namelists on that case and look in ./CaseDocs/atm_in at what this simulation is pointing to for an initial condition file (i.e., ncdata in atm_in).
(3) Take that file and interpolate horizontally to your f05_f05_mg17 grid.
(4) Point towards that interpolated file with the namelist parameter ncdata in user_nl_cam of your simulation.

Isla
 
Top