<div dir="ltr">In particular the example from that page, <a href="https://www.ncl.ucar.edu/Applications/Scripts/hdf4eos_5.ncl" style="margin:0px;padding:0px;text-decoration-line:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px">hdf4eos_5.ncl</a>, shows how to use the function dim_gbits to get the values of particular bits from byte, ubyte, short, ushort, or integer data. It does not really matter in this case whether the data is unsigned or signed because when decoded as bits the results are the same either way.<div><br></div><div>The default hdfeos5 reader still treats the data as signed because it does not use the advanced file system and therefore is limited to the types allowed for NetCDF3. There is an advanced version of the the reader but it is not yet recommended for general use because not all the kinks have been worked out.</div><div> -dave</div><div><br></div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 3:14 PM, Marston Johnston <span dir="ltr"><<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="white" lang="EN-GB" link="blue" vlink="purple"><div class="m_189583622535895178WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Here’s a NCL page dedicated to the handling of HDF files used by satellites such as MODIS.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><a href="https://www.ncl.ucar.edu/Applications/HDF.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/HDF.shtml</a><u></u><u></u></span></p><span class=""><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">/M <u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">Marston S. Johnston, PhD<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">Department of Earth Sciences<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">University of Gothenburg, Sweden<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style="color:#0070c0">marston.johnston@gu.se</span></a><u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">SkypeID: marston.johnston <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">Phone: <a href="tel:+46%2031%20786%2049%2001" value="+46317864901" target="_blank">+46-31-7864901</a> <u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">Only the fruitful thing is true!<u></u><u></u></span></p><p class="MsoNormal"><span style="color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p></span><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span></b><span style="font-family:Calibri;color:black">Michael Notaro <<a href="mailto:mnotaro@wisc.edu" target="_blank">mnotaro@wisc.edu</a>><span class=""><br><b>Date: </b>Tuesday, 13 June 2017 at 22:46<br></span><b>To: </b>Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>>, "<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>></span></p><div><div class="h5"><br><b>Subject: </b>Re: [ncl-talk] hdf confusion<u></u><u></u></div></div><p></p></div><div><div class="h5"><div><p class="MsoNormal"><u></u> <u></u></p></div><div id="m_189583622535895178divtagdefaultwrapper"><p><span style="font-family:Calibri;color:black">Thanks. I tried the following and only end up with a 2d grid of values like 2066, 18709, etc.<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">How can I retrieve slot [11-13] land/water flag with values like 000, 001, 010, etc?<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">Michael<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">aa=addfile("h10v04_<wbr>yellowstone/MOD13Q1.A2012001.<wbr>h10v04.006.2015236172021.hdf.<wbr>hdfeos","r")<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lat2d=doubletofloat(aa-><wbr>GridLat_MODIS_Grid_16DAY_250m_<wbr>500m_VI(::-1,:))<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lon2d=doubletofloat(aa-><wbr>GridLon_MODIS_Grid_16DAY_250m_<wbr>500m_VI(::-1,:))<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lat2d!0="nlat"<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lat2d!1="nlon"<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lon2d!0="nlat"<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">lon2d!1="nlon"<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">land=short2flt_hdf(aa->250m_<wbr>16_days_VI_Quality_MODIS_Grid_<wbr>16DAY_250m_500m_VI)<u></u><u></u></span></p><p style="font-variant-ligatures:normal;font-variant-caps:normal;font-stretch:normal"><span style="font-size:13.5pt;font-family:Menlo;color:black">print(land)<u></u><u></u></span></p><p class="MsoNormal"><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><p><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><div id="m_189583622535895178Signature"><div id="m_189583622535895178divtagdefaultwrapper"><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">Michael Notaro<u></u><u></u></span></p><div><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">Associate Director<u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">Nelson Institute Center for Climatic Research<u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">University of Wisconsin-Madison<u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">Phone: <a href="tel:(608)%20261-1503" value="+16082611503" target="_blank">(608) 261-1503</a><u></u><u></u></span></p></div><div><p class="MsoNormal" style="background:white"><span style="font-family:Calibri;color:black">Email: <a href="mailto:mnotaro@wisc.edu" target="_blank">mnotaro@wisc.edu</a><u></u><u></u></span></p></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><div><div class="MsoNormal" align="center" style="text-align:center"><span style="font-family:Calibri;color:black"><hr size="2" width="98%" align="center"></span></div><div id="m_189583622535895178divRplyFwdMsg"><p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:Calibri;color:black">From:</span></b><span style="font-size:11.0pt;font-family:Calibri;color:black"> Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>><br><b>Sent:</b> Tuesday, June 13, 2017 3:37 PM<br><b>To:</b> Michael Notaro; <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br><b>Subject:</b> Re: [ncl-talk] hdf confusion</span><span style="font-family:Calibri;color:black"> <u></u><u></u></span></p><div><p class="MsoNormal"><span style="font-family:Calibri;color:black"> <u></u><u></u></span></p></div></div><div><div><p><span style="font-size:11.0pt;font-family:Calibri;color:black">Hi,</span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black">Try this function: <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt_hdf.shtml" id="m_189583622535895178LPlnk689512" target="_blank"><span style="color:#0563c1">http://www.ncl.ucar.edu/<wbr>Document/Functions/<wbr>Contributed/short2flt_hdf.<wbr>shtml</span></a></span><span style="color:black"><u></u><u></u></span></p><div style="margin-bottom:15.0pt;overflow:auto" id="m_189583622535895178LPBorder_GT_14973867285290.06995087272877232"><table class="m_189583622535895178MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="90%" style="width:90.0%;background:white;border-top:dotted #c8c8c8 1.0pt;border-left:none;border-bottom:dotted #c8c8c8 1.0pt;border-right:none"><tbody><tr><td valign="top" style="border:none;padding:0cm 0cm 0cm 0cm"><div id="m_189583622535895178LPTitle_14973867285280.31343705378197484"><p class="MsoNormal" style="margin-top:15.0pt"><span style="font-size:16.0pt;font-family:Tahoma;color:#b70101"><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt_hdf.shtml" target="_blank"><span style="text-decoration:none">short2flt_hdf - ncl.ucar.edu</span></a><u></u><u></u></span></p></div><div style="margin-top:7.5pt;margin-bottom:12.0pt" id="m_189583622535895178LPMetadata_14973867285290.4505598811685758"><p class="MsoNormal" style="margin-top:15.0pt;line-height:10.5pt"><span style="font-size:10.5pt;font-family:Tahoma;color:#666666"><a href="http://www.ncl.ucar.edu" target="_blank">www.ncl.ucar.edu</a><u></u><u></u></span></p></div><div id="m_189583622535895178LPDescription_14973867285290.9924752587515622"><p class="MsoNormal" style="margin-top:15.0pt;line-height:15.0pt"><span style="font-size:10.5pt;font-family:Tahoma;color:#666666">NCL Home > Documentation > Functions > Type converters short2flt_hdf. Converts values of type short to values of type float using the "scale" and "offset" attributes ...<u></u><u></u></span></p></div></td></tr></tbody></table></div><p class="MsoNormal"><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black">/M</span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><div><p><span style="color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">Marston S. Johnston, PhD</span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">Department of Earth Sciences</span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">University of Gothenburg, Sweden</span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style="color:#0070c0">marston.johnston@gu.se</span></a></span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">SkypeID: marston.johnston </span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">Phone: <a href="tel:+46%2031%20786%2049%2001" value="+46317864901" target="_blank">+46-31-7864901</a> </span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">Only the fruitful thing is true!</span><span style="color:black"><u></u><u></u></span></p><p><span style="color:#0070c0">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><span style="color:black"><u></u><u></u></span></p></div><p><span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:11.0pt;font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p><b><span style="font-family:Calibri;color:black">From: </span></b><span style="font-family:Calibri;color:black"><<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>> on behalf of Michael Notaro <<a href="mailto:mnotaro@wisc.edu" target="_blank">mnotaro@wisc.edu</a>><br><b>Date: </b>Tuesday, 13 June 2017 at 22:33<br><b>To: </b>"<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><b>Subject: </b>[ncl-talk] hdf confusion</span><span style="color:black"><u></u><u></u></span></p></div><div><p><span style="color:black"> <u></u><u></u></span></p></div><div id="m_189583622535895178divtagdefaultwrapper"><p><span style="font-family:Calibri;color:black">Sorry for the ignorant question but I am having trouble figuring out<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">how to properly retrieve the land-lake-ocean mask off this MODIS hdf file.<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">If I ncl_filedump *hdf, it shows the variable as ushort. If I ncl_filedump *hdf.hdfeos,<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">it shows the variable as short. Which should I use in addfile and how do I <u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">retrieve the values of 001=land, 000=ocean, etc?<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black">Michael<u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"> <u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"> <u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">ncl_filedump h10v04_yellowstone/MOD13Q1.<wbr>A2012001.h10v04.006.<wbr>2015236172021.hdf.hdfeos</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> short 250m_16_days_VI_Quality_MODIS_<wbr>Grid_16DAY_250m_500m_VI ( YDim_MODIS_Grid_16DAY_250m_<wbr>500m_VI, XDim_MODIS_Grid_16DAY_250m_<wbr>500m_VI )</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> coordinates :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">GridLat_MODIS_Grid_16DAY_250m_<wbr>500m_VI, GridLon_MODIS_Grid_16DAY_250m_<wbr>500m_VI</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> hdfeos_name :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">250m 16 days VI Quality</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> projection :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">Sinusoidal</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> unsigned :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">True</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> Legend :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">Bit Fields Description (Right to Left): </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[0-1] : MODLAND_QA [2 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">00: VI produced, good quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">01: VI produced, but check other QA </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">10: Pixel produced, but most probably cloudy </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">11: Pixel not produced due to other reasons than clouds </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[2-5] : VI usefulness [4 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0000: Highest quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0001: Lower quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0010..1010: Decreasing quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1100: Lowest quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1101: Quality so low that it is not useful </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1110: L1B data faulty </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1111: Not useful for any other reason/not processed </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[6-7] : Aerosol quantity [2 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">00: Climatology </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">01: Low </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">10: Average </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">11: High (11) </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[8] : Adjacent cloud detected; [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[9] : Atmosphere BRDF correction performed [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[10] : Mixed clouds [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[11-13] : Land/Water Flag [3 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">000: Shallow ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">001: Land (Nothing else but land) </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">010: Ocean coastlines and lake shorelines </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">011: Shallow inland water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">100: Ephemeral water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">101: Deep inland water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">110: Moderate or continental ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">111: Deep ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[14] : Possible snow/ice [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[15] : Possible shadow [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> _FillValue :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">-1</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> valid_range :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">( 0, -2 )</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> units :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">bit field</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> long_name :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">250m 16 days VI Quality</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">ncl_filedump h10v04_yellowstone/MOD13Q1.<wbr>A2012001.h10v04.006.<wbr>2015236172021.hdf</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p style="margin-bottom:12.0pt"><span style="font-family:Calibri;color:black"><u></u> <u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> ushort 250m_16_days_VI_Quality ( YDim_MODIS_Grid_16DAY_250m_<wbr>500m_VI, XDim_MODIS_Grid_16DAY_250m_<wbr>500m_VI )</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> long_name :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">250m 16 days VI Quality</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> units :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">bit field</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> valid_range :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">( 0, 65534 )</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> _FillValue :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">65535</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> Legend :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">Bit Fields Description (Right to Left): </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[0-1] : MODLAND_QA [2 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">00: VI produced, good quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">01: VI produced, but check other QA </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">10: Pixel produced, but most probably cloudy </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">11: Pixel not produced due to other reasons than clouds </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[2-5] : VI usefulness [4 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0000: Highest quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0001: Lower quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0010..1010: Decreasing quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1100: Lowest quality </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1101: Quality so low that it is not useful </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1110: L1B data faulty </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1111: Not useful for any other reason/not processed </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[6-7] : Aerosol quantity [2 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">00: Climatology </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">01: Low </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">10: Average </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">11: High (11) </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[8] : Adjacent cloud detected; [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[9] : Atmosphere BRDF correction performed [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[10] : Mixed clouds [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[11-13] : Land/Water Flag [3 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">000: Shallow ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">001: Land (Nothing else but land) </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">010: Ocean coastlines and lake shorelines </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">011: Shallow inland water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">100: Ephemeral water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">101: Deep inland water </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">110: Moderate or continental ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">111: Deep ocean </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[14] : Possible snow/ice [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">[15] : Possible shadow [1 bit range] </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">1: Yes </span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">0: No</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black"> hdf_name :</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-size:13.5pt;font-family:Menlo;color:black">250m 16 days VI Quality</span><span style="font-family:Calibri;color:black"><u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"> </span><span style="color:black"><u></u><u></u></span></p><p><span style="font-family:Calibri;color:black"> <u></u><u></u></span></p><div id="m_189583622535895178Signature"><div id="m_189583622535895178divtagdefaultwrapper"><p style="background:white"><span style="font-family:Calibri;color:black">Michael Notaro</span><span style="color:black"><u></u><u></u></span></p><div><p style="background:white"><span style="font-family:Calibri;color:black">Associate Director</span><span style="color:black"><u></u><u></u></span></p></div><div><p style="background:white"><span style="font-family:Calibri;color:black">Nelson Institute Center for Climatic Research</span><span style="color:black"><u></u><u></u></span></p></div><div><p style="background:white"><span style="font-family:Calibri;color:black">University of Wisconsin-Madison</span><span style="color:black"><u></u><u></u></span></p></div><div><p style="background:white"><span style="font-family:Calibri;color:black">Phone: <a href="tel:(608)%20261-1503" value="+16082611503" target="_blank">(608) 261-1503</a></span><span style="color:black"><u></u><u></u></span></p></div><div><p style="background:white"><span style="font-family:Calibri;color:black">Email: <a href="mailto:mnotaro@wisc.edu" target="_blank">mnotaro@wisc.edu</a></span><span style="color:black"><u></u><u></u></span></p></div></div></div></div><p><span style="color:black">______________________________<wbr>_________________ ncl-talk mailing list <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> List instructions, subscriber options, unsubscribe: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a> <u></u><u></u></span></p></div></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>