Opened 15 years ago

Closed 15 years ago

#181 closed enhancement (fixed)

Missing data

Reported by: Huw Lewis Owned by: Huw Lewis
Priority: normal Milestone: 4.0
Component: ROPP (all) Version: 3.0
Keywords: missing data Cc:

Description (last modified by Huw Lewis)

Rename and move definitions of missing data (ropp_io_mdfv, ropp_io_mdtv etc) from each separate ROPP module to ropp_utils for greater module independence.

Now that text files are totally depractated, we can define very large 'missing' values (outside all valid ranges for any parameter).

The _FillValue attribute should also be set in the ROPP format netCDF files.

Change history (1)

comment:1 by Huw Lewis, 15 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

See [2244].

New parameters ropp_MDFV, ropp_MDTV, ropp_ZERO, ropp_ZDTV have been defined in main ROPP_UTILS module file ropp_utils/ropp_utils.f90. These are now used by all other modules and routines. The ropp_MDFV value is set to a very large 'missing' value, and can be easily adjusted by the user in the one location at compile time if required. The ropp_MDTV is still set at -9000 to be suitable for use with any files generated using ROPP-3 or prior software.

The _FillValue attribute is now set to ropp_MDFV in writing a new netCDF file with routine ropp_io/ropp/ropp_io_write_ncdf_def.f90.

Ticket closed as fixed.

Note: See TracTickets for help on using tickets.