Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When I use the 'gribapi option', I have no probleme 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/

...

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.

...