Opened 10 years ago

Closed 10 years ago

#186 closed enhancement (fixed)

Must issue a clear warning when requesting time series for a variable not produced

Reported by: sdipsl Owned by: sdipsl
Priority: minor Milestone: libIGCM_v2.4 metrics
Component: PostProcessing Version:
Keywords: Cc:

Description

Check requested variables against current variables list in a given file. If not present produce a clear warning but not an error.

IGCM_sys_ncrcat : --hst -v lon,lat,presnivs,time_counter,time_counter_bnds,rh2m_max RIDECM6_18500101_18501231_1D_histday.nc RIDECM6_18510101_18511231_1D_histday.nc RIDECM6_18520101_18521231_1D_histday.nc RIDECM6_18530101_18531231_1D_histday.nc RIDECM6_18540101_18541231_1D_histday.nc RIDECM6_18550101_18551231_1D_histday.nc RIDECM6_18560101_18561231_1D_histday.nc RIDECM6_18570101_18571231_1D_histday.nc RIDECM6_18580101_18581231_1D_histday.nc RIDECM6_18590101_18591231_1D_histday.nc RIDECM6_18500101_18591231_1D_rh2m_max.nc
2014-05-20 21:13:50 --------Debug2--> IGCM_sys_ncrcat : error code 1
ncrcat: ERROR nco_var_lst_mk() reports user-specified variable "rh2m_max" is not in input file
2014-05-20 21:13:51 --------Debug2--> IGCM_sys_ncrcat : 0/3 sleep 2 seconds and try again.
2014-05-20 21:13:53 --------Debug2--> IGCM_sys_ncrcat : error code 1
ncrcat: ERROR nco_var_lst_mk() reports user-specified variable "rh2m_max" is not in input file
2014-05-20 21:13:53 --------Debug2--> IGCM_sys_ncrcat : 1/3 sleep 2 seconds and try again.
2014-05-20 21:13:55 --------Debug2--> IGCM_sys_ncrcat : error code 1
ncrcat: ERROR nco_var_lst_mk() reports user-specified variable "rh2m_max" is not in input file
2014-05-20 21:13:55 --------Debug2--> IGCM_sys_ncrcat : 2/3 sleep 2 seconds and try again.
IGCM_sys_ncrcat : ncrcat error
IGCM_sys_Put_Out : RIDECM6_18500101_18591231_1D_rh2m_max.nc /ccc/scratch/cont003/dsm/p86denv/IGCM_OUT/IPSLCM6/TEST/piControl/RIDECM6/ATM/Analyse/TS_DA/RIDECM6_18500101_18591231_1D_rh2m_max.nc
WARNING : IGCM_sys_Put_Out RIDECM6_18500101_18591231_1D_rh2m_max.nc DOES NOT EXIST .
IGCM_sys_Rm : RIDECM6_18500101_18591231_1D_rh2m_max.nc
IGCM_sys_Rm : error code 1
rm RIDECM6_18500101_18591231_1D_rh2m_max.nc
rm: cannot remove `RIDECM6_18500101_18591231_1D_rh2m_max.nc': No such file or directory
IGCM_debug_Exit :  IGCM_sys_Rm

!!!!!!!!!!!!!!!!!!!!!!!!!!
!!   ERROR TRIGGERED    !!
!!   EXIT FLAG SET      !!
!------------------------!

Change History (2)

comment:1 Changed 10 years ago by sdipsl

  • Owner changed from somebody to sdipsl
  • Status changed from new to assigned

comment:2 Changed 10 years ago by sdipsl

  • Resolution set to fixed
  • Status changed from assigned to closed

Done see r1033

Note: See TracTickets for help on using tickets.