⇐ ⇒

[CF-metadata] Question regarding flag_values and flag_masks

From: Jim Biard <jim.biard>
Date: Tue, 21 Feb 2012 12:44:06 -0500

Hi.

Is it legal to have a flag value of zero that is associated with a flag
mask? That is to say, is it OK to do something like

     flag_masks = 3b, 3b, 3b, 4b, 4b;
     flag_values = 1b, 2b, 3b, 0b, 4b;
     flag_meanings = "subsystem1 subsystem2 subsystem3 warning failure";

The implication would be that a value of 1, 2, or 3 would indicate a
warning in the corresponding subsystem, and 5, 6, or 7 would indicate a
failure.

Grace and peace,

Jim

-- 
Jim Biard
Government Contractor, STG Inc.
Remote Sensing and Applications Division (RSAD)
National Climatic Data Center
151 Patton Ave.
Asheville, NC 28801-5001
jim.biard at noaa.gov
828-271-4900
Received on Tue Feb 21 2012 - 10:44:06 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒