Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Confirmed: potential for users of CMEM

...

When I use the 'gribapi option' in cmem_v2.0, I have no probleme problem with compilation, but running cmem fails with this message (when it starts to write the outputs):
GRIB_API ERROR : grib_new_from_template: Internal error

In your xterm you must do:setenv GRIB_TEMPLATES_PATH /YourPathWhereTemplateFileIs/

                or for ksh or bash: export GRIB_TEMPLATES_PATH=$pwd

More information about GribAPI is available at:GRIB API

It seems to be a problem with the netCDF libraries. Do you probably have some already precompiled netCDF libraries that work well together with CMEM (32bit and 64bit Linux) that you could probably send us for testing?

No CMEM does not use any specific libraries. There must be a problem with your netcdf installation and link to fortran. You have more informations on http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f90/

A simple test for you to test your installation would be to try to compile and to use a very simple fortran programme which do uses netcdf functions. Examples are given in http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-f90/index.html#Top

 Based on this documentation I also put one example here: test_netcdf.F90 to read the foo.nc test file.

In dielsoil_sub.F90 the Dobson model computation of beta does not match with the equation given in the Dobson et al. (1985) paper for the imaginary part. CMEM uses beta = (133.797_JPRM - 0.603_JPRM * sand - 0.166_JPRM * clay) / 100._JPRM, while Dobson et al. indicates that beta = (1.33797 - 0.603 * sand - 0.166 * clay) / 100.

...