⇐ ⇒

[CF-metadata] Mixing data and flag values in one variable

From: Jim Biard <jbiard>
Date: Thu, 10 Dec 2015 09:00:39 -0500

Ken,

It looks valid to me. The missing_value attribute can also validly be an
array attribute, but a lot of software doesn't handle that properly.

Grace and peace,

Jim

On 12/9/15 5:49 PM, Kehoe, Kenneth E. wrote:
> I have a question about mixing data values and flag values. I know the
> correct method is to separate the data information from the flag
> information, but my colleague would prefer to keep the two in the same
> variable to simplify processing and reduce file size. The data files
> are already quite large. I looked through the discussion archive but
> could not find any discussion about this.
>
> For example:
>
> I have a data vector that occasionally has missing value indicators.
> They want to use multiple missing value indicators to indicate why the
> data is missing. A value of -9999 indicates no data at all, a value of
> -2 indicates possible clear sky, -1 indicates it is clear sky, and
> anything greater than or equal to 0 represents a data value. We will
> use valid_range to indicate that any value below 0 is not valid data
> and will be excluded. (I can?t use valid_min for historical reasons.
> We are sticking with missing_value for historical reasons.)
>
> cloud_layer_base_height(time, layer):float
> long_name = "Cloud base height of hydrometeor layers? ;
> units = "m? ;
> missing_value = -9999.f ;
> valid_range = 0.f, 100000.f ;
> flag_values = -2.f , -1.f ;
> flag_meanings = "possible_clear_sky clear_sky? ;
> comment = "-2. Possible clear sky (No MPL observations available,
> Ceilometer obscured, but no cloud detected), -1. Clear sky, >= 0.
> Valid cloud base height? ;
>
> Would this be acceptable?
>
> Ken
>
> Kenneth E. Kehoe
> Research Associate
> ARM Climate Research Facility Data Quality Office
>
> Office: 303-497-4754
> Cell: 405-826-0299
>
>
>
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

-- 
CICS-NC <http://www.cicsnc.org/> Visit us on
Facebook <http://www.facebook.com/cicsnc> 	*Jim Biard*
*Research Scholar*
Cooperative Institute for Climate and Satellites NC <http://cicsnc.org/>
North Carolina State University <http://ncsu.edu/>
NOAA National Centers for Environmental Information <http://ncdc.noaa.gov/>
/formerly NOAA?s National Climatic Data Center/
151 Patton Ave, Asheville, NC 28801
e: jbiard at cicsnc.org <mailto:jbiard at cicsnc.org>
o: +1 828 271 4900
/Connect with us on Facebook for climate 
<https://www.facebook.com/NOAANCEIclimate> and ocean and geophysics 
<https://www.facebook.com/NOAANCEIoceangeo> information, and follow us 
on Twitter at _at_NOAANCEIclimate <https://twitter.com/NOAANCEIclimate> and 
_at_NOAANCEIocngeo <https://twitter.com/NOAANCEIocngeo>. /
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20151210/0814d567/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CicsLogoTiny.png
Type: image/png
Size: 15784 bytes
Desc: not available
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20151210/0814d567/attachment-0001.png>
Received on Thu Dec 10 2015 - 07:00:39 GMT

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

⇐ ⇒