Hi Juan Carlos,
you can list all fields in a FA file with something like:
For fields that are defined in trans_tab.h, grib parameters and a name or short description are shown. Fields that are not defined in trans_tab.h lack this output. For example:
SFX.LEC > 001:121- 000-105@20170610_00:00+003h00m tri:004 000 Latent heat flux
SFX.LEIC > 20170610_00:00+003h00m 000
LEC is set in trans_tab.h, LEIC is not. If you want to add fields to trans_tab.h you indeed have to recompile gl.
As far as I know gl uses trans_tab.h to translate FA names to grib parameters, and nc_tab.h to translate to netcdf parameters and is not in anyway linked to ECCODES_DEFINITION_PATH and GRIB_DEFINITION_PATH, but I may be wrong.
I just converted LEC from a FA to a grib file using:
gl -c ICMSHFULL+0180.sfx -n LEC.nam -o LEC.grb
where test.nam is used to only read LEC:
&naminterp
readkey%name = "SFX.LEC"
/
This worked fine, but it did this locally, as I don't have a compiled version of HCLIM at the ECMWF at the moment. Where did you try your conversion?
Note that accumulated fields are absent in the very first output file.
best wishes,
Bert