Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#548 closed task (fixed)

Don't return exit code 1 when using the --no-ranchk option [1 h]

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

Description

Change history (3)

comment:1 by Ian Culverwell, 6 years ago

Component: ROPP(all)ropp_fm

comment:2 by Ian Culverwell, 5 years ago

Resolution: fixed
Status: newclosed

Done at r5913.

Note that the ROPP trunk says

      CALL ropp_io_write(ro_data, ofile, append=.TRUE., ranchk=ranchk)

(where ranchk = .TRUE. unless --no-ranchk is specified) whereas the dmi_trunk says

      CALL ropp_io_write(ro_data, ofile, append=.TRUE., ranchk=.FALSE.)

i.e. range checking is never applied to output. We should discuss this with DMI, as range checking should usually be carried out. Perhaps we need two range checking switches, one for input and one for output?

Leaving ticket open as we need to discuss.

comment:3 by Ian Culverwell, 5 years ago

In view of the fix described in #564 for return codes of 1, which are generated by WARNINGS, revert this change at r6237. This is a DMI problem.

(Note that ropp_fm_bg2ro_1d returns plenty of

WARNING (from set_obs_levels_bangle):  RoC missing from data structure ... setting equal to effective radius

messages, so it often/usually delivers a return code of 1 anyway.)

Note: See TracTickets for help on using tickets.