[RegCNET] RegCM 4.4 No snow.nc file to read

Graziano Giuliani ggiulian at ictp.it
Fri Jun 28 11:08:41 CEST 2013


On 06/27/2013 06:18 PM, Pir S. Ali wrote:
> Dear All,
> 
> I am running RegCM 4.4 when I run 
> 
> ./bin/terrain regcm.in <http://regcm.in>
> 
> It successfully completed but with message "No snow.nc file to read"
> 
> After this I run the regcm and it was also succeded but when I used the
> output of regcm as in put to chym it give me the following error
> 
> NetCDF Library error while reading snow field from
>           /home/alish/storage/run/output/test_002_SRF.2000060100.nc
> <http://test_002_SRF.2000060100.nc>
>           Exiting with status = 1
> 
> CHyM is running fine with other output file for my last simulation when
> there is no message of message "No snow.nc <http://snow.nc> file to read"
> 
> Ali
[...]

The two things are not related.

1) the message from the terrain just reports that the terrain program
has not found a snow file to use to initialize the snow field at model
start (i.e. you run the model for some years, let the snow accumulate,
then extract the last timestep of the snow from the SRF output to have
the production run start with a realistic snow cover).

2) The chym (and this is off-topic) reads the snow field from the regcm,
but the code there search for the variable "scv", while in the 4.4 code
we have changed the variable name to "snv" to respect the CORDEX convention.

Add for this the following line:

        istatus = nf_inq_varid(lun,'scv',scode)
+       if (istatus.ne.nf_noerr) istatus = nf_inq_varid(lun,'snv',scode)

at line 2115 of file museo.f in the libmv library of chym.

Ciao!

-- 
Graziano Giuliani - Earth System Physics Section
The Abdus Salam International Centre for Theoretical Physics
Strada Costiera 11 - I - 34151 Trieste Italy


More information about the RegCNET mailing list