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

ERROR in srfsub NaNQ

ginah@udel_edu

New Member
Hi all,

I am working on snowcover perturbations within CAM and I have altered some code in order to read in external snow data. However, I am getting an error in a module that as far as I can tell has nothing to do with where I altered the code. The error is:
-----------------------------------------------------------------------
GRAVITY WAVE EQUIVALENT DEPTHS (M) FOR MEAN STATE =
11910.418 4276.669 1721.099 846.262 475.379 292.623 190.884 130.299 91.472 65.850 48.231 35.732
26.730 20.063 15.019 11.185 8.268 6.033 4.304 2.965 1.957 1.224 0.695 0.362
0.053 0.150
nstep, te 1 3340167301.58742952 0.000000000000000000E+00 0.000000000000000000E+00 98466.2417923963367
ipc= 21
ERROR in srfsub NaNQ
ipc= 21
ERROR in srfsub NaNQ
ipc= 21
---------------------------------------------------------------------

and these two lines are repeated till the run fails.

Any help on this would be greatly appreciated,
Gina.
 

rneale

Rich Neale
CAM Project Scientist
Staff member
Which code base are you using? CAM3.p.1 from the cam download site?
 

ginah@udel_edu

New Member
Hi there,

I am using the CAM 3.1 code distribution. Does the code version have any bearing on the problem I am having?

Thanks, Gina.
 

rneale

Rich Neale
CAM Project Scientist
Staff member
This is more of a clm land question I think so could you repost this in the clm section below this thread? Thanks
 
The thread is 2years old, but I had the same Problem with WACCM these days and maybe in future someone could use this info.

Actually it is a landmodel problem! The srfsub generates ice and snow thickness.
--ERROR in srfsub NaNQ--

In my case the error occured because of too small numbers around zero in the sst-file(ice_cov,sst) of inputdata! Not easy to find... But thats the file we changed and that should always be the first guess. In Ginas case maybe the external snowdata had too small numbers!?

Changing all small numbers around zero to zero(I think 10^-4) worked. (maybe important: restart should be longer than just a few days!)

Hope this helps!
 
Top