Opened 16 years ago

Closed 13 years ago

#153 closed enhancement (duplicate)

Writing invalid data to multifiles

Reported by: Huw Lewis Owned by: Huw Lewis
Priority: minor Milestone: 5.0
Component: ropp_io Version: 1.0
Keywords: Cc:

Description (last modified by Huw Lewis)

When writing (appending) multiple-profiles to an output file ROPP assumes that the first profile contains valid data. This is because the netCDF output file is only defined based on the contents of the first profile to be written.

So, for example if profile 1 contains no valid Level1b data an output file is defined with no Level1b variables. If the subsequent profiles do however contain valid information, ropp_io_write will exit with an error when it tries to write information to an undefined variable.

Note, this is only an issue for running ropp2ropp with '-m' and no thinning (i.e. just for applying range checking to an existing set of profiles). In this case, a user would actually like to remove missing data, so it is just unfortunate if the invalid data are in the first profile.

This situation should be investigated, and a fix found if it does not overly complicate the write process.

Change history (4)

comment:1 by Huw Lewis, 16 years ago

Description: modified (diff)
Type: defectenhancement

comment:2 by Huw Lewis, 15 years ago

Milestone: 3.04.0

No fix investigated as yet. For processing multi-files for ropp_pp development it has been necessary to place the biggest possible profile as the first in a file to ensure all data can be stored. Typically, these stand-alone tools would be run in single-profile mode in any case.

Ticket remains open for investigation at a later date.

comment:3 by Huw Lewis, 15 years ago

Milestone: 4.05.0

No change in status. Move to 5.0. Note limitation documented in Release Notes.

comment:4 by Dave Offiler, 13 years ago

Resolution: duplicate
Status: newclosed

Issue dealt with in #170.

Note: See TracTickets for help on using tickets.