Opened 6 years ago

Closed 5 years ago

#571 closed task (duplicate)

Do not warn on the use of --no-ranchk [0.5 d]

Reported by: Ian Culverwell Owned by: Ian Culverwell
Priority: normal Milestone: ROPP9.1 carry over
Component: ropp_io Version: 9.0
Keywords: Cc:

Description

Change history (3)

comment:1 by Ian Culverwell, 6 years ago

Summary: Do not warn on the use of --no-ranchk [0.5 dDo not warn on the use of --no-ranchk [0.5 d]

comment:2 by Ian Culverwell, 5 years ago

Presumably the --no-ranchk warning breaks the operational system because it results in a return code of $? = 1.

Default:

prompt:> ../tools/eum2ropp  ../data/eum_test.n4  -l cl+rs  -o eum_test_l.nc

---------------------------------------------------------------------
                  EUMETSAT to ROPP netCDF Converter
---------------------------------------------------------------------

INFO (from eum2ropp):  Reading file ../data/eum_test.n4
INFO (from ropp_io_read_eumdata):  raw_sampling data requested but are not available in file
INFO (from eum2ropp):  Profile    1 : OC_20120909000057_META_G015_EUME
INFO (from eum2ropp):  Writing eum_test_l.nc

prompt:> echo $?
0

If you switch off range-checking:

prompt:> ../tools/eum2ropp  ../data/eum_test.n4  -l cl+rs  -o eum_test_l.nc --no-ranchk

---------------------------------------------------------------------
                  EUMETSAT to ROPP netCDF Converter
---------------------------------------------------------------------

 
WARNING (from eum2ropp):  Range checking is disabled
INFO (from eum2ropp):  Reading file ../data/eum_test.n4
INFO (from ropp_io_read_eumdata):  raw_sampling data requested but are not available in file
INFO (from eum2ropp):  Profile    1 : OC_20120909000057_META_G015_EUME
INFO (from eum2ropp):  Writing eum_test_l.nc

prompt:> echo $?                                                                       
1

By downgrading the WARNING to an INFO message you still get an indication that you're switching off range-checking:

prompt:> ../tools/eum2ropp  ../data/eum_test.n4  -l cl+rs  -o eum_test_l.nc --no-ranchk

---------------------------------------------------------------------
                  EUMETSAT to ROPP netCDF Converter
---------------------------------------------------------------------

INFO (from eum2ropp):  Range checking is disabled
INFO (from eum2ropp):  Reading file ../data/eum_test.n4
INFO (from ropp_io_read_eumdata):  raw_sampling data requested but are not available in file
INFO (from eum2ropp):  Profile    1 : OC_20120909000057_META_G015_EUME
INFO (from eum2ropp):  Writing eum_test_l.nc

prompt:> echo $?
0

comment:3 by Ian Culverwell, 5 years ago

Resolution: duplicate
Status: newclosed

(I wondered where that text disappeared! It should have been input to #564.)

This change is included in #564. Closing ticket.

Note: See TracTickets for help on using tickets.