Skip to content

STATION/TRAJECTORY _PARAMETER rules review #21

@MarkIggy

Description

@MarkIggy

Review of the FileChecker rules for STATION_PARAMETERS and TRAJECTORY_PARAMETERS.

Referencing the "Description of Argo GDAC File Checks"

PROPOSED CHANGES: (in bold)

Section 5.3 -- Profile files
STATION_PARAMETERS:
S1: All valid parameter names. Reference table 3.
S2: For each parameter, variable exists in file.
S3: For each variable with data for profile N, parameter name included in STATION_PARAMETERS for profile N
S4: Core-file / profile #1: PRES and TEMP present
S5: No duplicate names in list for a given profile.
S6: No blank entries within the sequence of names for profile N. (For example, “PRES”, “ “, “TEMP”). Reject

Section 7.1 -- Trajectory files
TRAJECTORY_PARAMETERS
T1: All valid parameter names. Reference table 3.
T2: For each parameter, variable exists in file.
T3: For each variables (with data), parameter name included in TRAJECTORY_PARAMETERS
T4: No duplicate names in list.
T5: Blank entries within the sequence of names. (For example, “PRES”, “ “, “TEMP”).
T5: No blank entries in the list.

DISCUSSION:

Rule S3, S5, S6: Clarify that the rules for STATION_PARAMETERS is on a profile-by-profile basis.

Rule S6: Blank entries must be allowed in profile files because of the way multiple profiles are recorded within the file. Rule S6 says the blank entries must be at the end of the list. Previously, this was only a warning. Propose changing it to a rejection.

Rule T3: The original rule allowed for the situation where the name of a variable in the file did not need to be in the TRAJECTORY_PARAMETERS list if all of its values were _FillValue. With this revision: If a variable is in a file, it must be listed in the TRAJECTORY_PARAMETERS variable.

Rule T5: There is no reason to have blank entries in TRAJECTORY_PARAMETERS. So disallow them.

Metadata

Metadata

Assignees

Labels

ProfFileRelated to profile filesTrajFileRelated to trajectory files

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions