Push notifications in your browser are not yet configured.
You are not logged in, you may not see all content and functionalities. If you have an account, please login .
Problem with reading the namelists in case of grb1 input, but ncdf output
I encountered a problem with int2lm2.0_clm4 when reading grb1 input ( COSMO -EU-analysis data)
and writing ncdf output (thus compiling with - DNETCDF ).
The INT2LM crashes with
ERROR *** while reading NAMELIST Group /DATA/ ***
After a few tests, I found that this only happens when compiling with -DNETCDF
and using grb1 input and ncdf output. It seems to be related to
lines 4208 ff. in src_namelist.f90:
!_br 28.01.15 Bug #56 RedC / Trailing slash #ifdef NETCDF ! to prevent an often error from users read dimension lengths from data file ierrstat = nc_get_dimlen( TRIM //’/’// TRIM , ‘rlon’, ie_ext, yerrmsg) ierrstat = nc_get_dimlen( TRIM //’/’// TRIM , ‘rlat’, je_ext, yerrmsg) #endif
!_br 28.01.15 end
because then INT2LM tries to read ncdf input data, which of course fails.
(see line 12 in the logfile: “yerrmsg: Error in nc_get_dimlen / nf90_open — NetCDF: Unknown file format”)
Is there a workaround or are there maybe also other reasons that mixed types in input/output is not advisable? Thanks.
May be the IF clause below can fix this. If so, it should be introduced in the next INT2LM version.
There was a closing brace missing in the listing in my last post.
It should be hopefully correct now.
Yes, this works. Thanks !!!