Opened 10 years ago
Closed 10 years ago
#192 closed defect (fixed)
nco 4.4.4 and pack_output
Reported by: | mafoipsl | Owned by: | mafoipsl |
---|---|---|---|
Priority: | major | Milestone: | libIGCM_v2.4 metrics |
Component: | PostProcessing | Version: | 2.0 |
Keywords: | nco ncrcat pack_output | Cc: |
Description
pack_output is not working with nco 4.4.3 (ada) or 4.4.4 (curie).
On ada, it's possible to test ncrcat directly in this directory with a collection of histmth_xxx file, rebuild still necessary, : /workgpfs/rech/psl/rpsl003/RUN_DIR/TESTNCO443C.38732
Error is :
IGCM_sys_ncrcat : --hst -v lon,lat,presnivs,time_counter,time_counter_bnds,aire,ftime_con T201406T3_20000101_20000131_1M_histmth.nc T201406T3_20000201_20000228_1M_histmth.nc T201406T3_20000301_20000331_1M_histmth.nc T201406T3_20000401_20000430_1M_histmth.nc T201406T3_20000501_20000531_1M_histmth.nc T201406T3_20000601_20000630_1M_histmth.nc T201406T3_20000701_20000731_1M_histmth.nc T201406T3_20000801_20000831_1M_histmth.nc T201406T3_20000901_20000930_1M_histmth.nc T201406T3_20001001_20001031_1M_histmth.nc T201406T3_20001101_20001130_1M_histmth.nc T201406T3_20001201_20001231_1M_histmth.nc T201406T3_20010101_20010131_1M_histmth.nc T201406T3_20010201_20010228_1M_histmth.nc T201406T3_20010301_20010331_1M_histmth.nc T201406T3_20010401_20010430_1M_histmth.nc T201406T3_20010501_20010531_1M_histmth.nc T201406T3_20010601_20010630_1M_histmth.nc T201406T3_20010701_20010731_1M_histmth.nc T201406T3_20010801_20010831_1M_histmth.nc T201406T3_20010901_20010930_1M_histmth.nc T201406T3_20011001_20011031_1M_histmth.nc T201406T3_20011101_20011130_1M_histmth.nc T201406T3_20011201_20011231_1M_histmth.nc T201406T3_20000101_20011231_1M_ftime_con.nc 2014-06-20 00:45:44 --------Debug2--> IGCM_sys_ncrcat : error code 1 nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco_inq_varid() nco_err_exit(): ERROR Error code is -49. Translation into English with nc_strerror(-49) is "NetCDF: Variable not found" ERROR: nco_inq_varid() reports requested variable "t_inst_02678400" is not defined in file nco_err_exit(): ERROR NCO will now exit with system call exit(EXIT_FAILURE)
ncdump of an input file:
ncdump -h histmth_0019.nc|grep t_ins double t_inst_02678400(time_counter) ; t_inst_02678400:standard_name = "time" ; t_inst_02678400:units = "seconds since 2000-01-01 00:00:00" ; t_inst_02678400:calendar = "noleap" ; t_inst_02678400:title = "Time" ; t_inst_02678400:long_name = "Time axis" ; t_inst_02678400:time_origin = " 2000-JAN-01 00:00:00" ; ndayrain:coordinates = "t_inst_02678400 lat lon" ; ftime_con:coordinates = "t_inst_02678400 lat lon" ; u850:coordinates = "t_inst_02678400 lat lon" ; v850:coordinates = "t_inst_02678400 lat lon" ;
Change History (4)
comment:1 Changed 10 years ago by mafoipsl
comment:2 Changed 10 years ago by sdipsl
Can't reproduce the issue. On adapp this works.
module purge
module load nco/4.4.3
module load netcdf
cd /workgpfs/rech/ces/rces452/TESTNCO
rebuild -o histmth.nc histmth_00*
ncrcat --hst -v lon,lat,presnivs,time_counter,time_counter_bnds,aire,ftime_con histmth.nc ftime_con.nc
comment:3 Changed 10 years ago by mafoipsl
Test done with nco 4.4.6 at IDRIS.
pack_output OK. Thanks to ncrcat -C options. Test done with -C options added in libIGCM_Sys_ada :
2618 : ncrcat -C $@ > /tmp/out_command.$$ 2>&1
mesh on all ocean/sea ice files OK. Thanks to nco 4.4.6.
ATLAS and MONITORING done. See : http://dods.idris.fr/rpsl003/IPSLCM5A/DEVT/pdControl/TESTNCO446A/MONITORING/ and http://dods.idris.fr/rpsl003/IPSLCM5A/DEVT/pdControl/TESTNCO446A/ATLAS/
comment:4 Changed 10 years ago by sdipsl
- Resolution set to fixed
- Status changed from new to closed
Done see r1088. Must target nco 4.4.6 on TGCC and IDRIS.
Patch for histmth files has been deleted. It has to be used again?
https://forge.ipsl.jussieu.fr/igcmg/changeset/1032/CONFIG/IPSLCM/IPSLCM5A/piControl/COMP/lmdz.card