Opened 14 months ago

Last modified 14 months ago

#152 assigned defect

Put _FillValue attribute in all util programs

Reported by: abierjon Owned by: abierjon
Priority: minor Milestone:
Component: MARS GCM Version:
Keywords: Cc:

Description

A problem related to "missing_value" attributes in NetCDF files and their treatment by NCO (also explained here https://nco.sourceforge.net/nco.html#Missing-Values) :

  • for NCO versions < 3.9.2, it is the missing_value attribute that is recognized
  • for NCO versions >= 3.9.2, it is the _FillValue attribute that is recognized, and the missing_value attribute is ignored

For now, all our util programs' output files have a missing_value attribute, and no _FillValue attribute, which is problematic if you use NCO commands with versions >=3.9.2
=> add a second attribute _FillValue in all output files written by the util programs, and also add a check on this attribute when util program are checking on missing_value attribute

Change History (1)

comment:1 Changed 14 months ago by abierjon

Done for zrecast.F90 by r3057

Note: See TracTickets for help on using tickets.