<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 171) solid;font-family:'Segoe UI WPC', 'Segoe UI', Tahoma, 'Microsoft Sans Serif', Verdana, sans-serif;font-size:11pt;color:rgb(51, 51, 51);} .ms-cui-menusection-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decoration:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223, 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;margin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-icon {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 237, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {padding:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85px;height:24px;overflow:hidden}--></style>
</head>
<body>
<div style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Dear NCL,<br>
</p>
<p><br>
</p>
<p>&nbsp; &nbsp; I am trying to read. h5 file with ncl 6.2.0 version in Red Hat Linux&nbsp;x86_64 system. ncl_filedump reveal the following about the file :&nbsp;<br>
</p>
<p><br>
</p>
<p>&nbsp;</p>
<div>Variable: f</div>
<div>Type: file</div>
<div>filename: &nbsp; &nbsp; &nbsp; VAOOO_npp_d20140501_t0000514_e0002156_b12990_c20140501064516522509_noaa_ops</div>
<div>path: &nbsp; VAOOO_npp_d20140501_t0000514_e0002156_b12990_c20140501064516522509_noaa_ops.h5</div>
<div>&nbsp; &nbsp;file global attributes:</div>
<div>&nbsp; &nbsp; &nbsp; Distributor : arch</div>
<div>&nbsp; &nbsp; &nbsp; Mission_Name : NPP</div>
<div>&nbsp; &nbsp; &nbsp; N_Dataset_Source : noaa</div>
<div>&nbsp; &nbsp; &nbsp; N_GEO_Ref : GAERO_npp_d20140501_t0000514_e0002156_b12990_c20140501064516522509_noaa_ops.h5</div>
<div>&nbsp; &nbsp; &nbsp; N_HDF_Creation_Date : 20140501</div>
<div>&nbsp; &nbsp; &nbsp; N_HDF_Creation_Time : 064516.522509Z</div>
<div>&nbsp; &nbsp; &nbsp; Platform_Short_Name : NPP</div>
<div>&nbsp; &nbsp;dimensions:</div>
<div>&nbsp; &nbsp; &nbsp; DIM_000 = 20</div>
<div>&nbsp; &nbsp; &nbsp; DIM_001 = 96</div>
<div>&nbsp; &nbsp; &nbsp; DIM_002 = 400</div>
<div>&nbsp; &nbsp; &nbsp; DIM_003 = 2</div>
<div>&nbsp; &nbsp;variables:</div>
<div>&nbsp; &nbsp; &nbsp; group &lt;/All_Data&gt;</div>
<div><br>
</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; group &lt;/All_Data/VIIRS-Aeros-EDR_All&gt;</div>
<div><br>
</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; float AerosolOpticalDepthFactors ( DIM_003 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_1240nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_1610nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_2250nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_412nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_445nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_488nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_550nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_555nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_672nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_746nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AerosolOpticalDepth_at_865nm ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ushort AngstromExponent ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; float AngstromExponentFactors ( DIM_003 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte QF1_VIIRSAEROEDR ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte QF2_VIIRSAEROEDR ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte QF3_VIIRSAEROEDR ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte QF4_VIIRSAEROEDR ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte QF5_VIIRSAEROEDR ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; ubyte SmallModeFraction ( DIM_001, DIM_002 )</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; group &lt;/Data_Products&gt;</div>
<div><br>
</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; group &lt;/Data_Products/VIIRS-Aeros-EDR&gt;</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Instrument_Short_Name : &nbsp; &nbsp; &nbsp; &nbsp;VIIRS</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Anc_Type_Tasked : &nbsp; &nbsp;Official</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Collection_Short_Name : &nbsp; &nbsp; &nbsp;VIIRS-Aeros-EDR</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Dataset_Type_Tag : &nbsp; EDR</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Instrument_Flight_SW_Version : &nbsp; &nbsp; &nbsp; 20</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Processing_Domain : &nbsp;ops</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Operational_Mode : &nbsp; &nbsp; NPP Normal Operations, VIIRS Operational</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; none VIIRS_Aeros_EDR_Aggr ( DIM_000 )</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateBeginningDate : &nbsp; &nbsp; &nbsp; 20140501</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateBeginningGranuleID : &nbsp;NPP000795744508</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateBeginningOrbitNumber : &nbsp; &nbsp; &nbsp; &nbsp;12990</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateBeginningTime : &nbsp; &nbsp; &nbsp; 000051.486918Z</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateEndingDate : &nbsp;20140501</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateEndingGranuleID : &nbsp; &nbsp; NPP000795744508</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateEndingOrbitNumber : &nbsp; 12990</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateEndingTime : &nbsp;000215.662554Z</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AggregateNumberGranules : &nbsp; &nbsp; &nbsp;1</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp; none VIIRS_Aeros_EDR_Gran_0 ( DIM_000 )</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ascending/Descending_Indicator : &nbsp; &nbsp; &nbsp; &lt;ARRAY of 0 elements&gt;</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Beginning_Date : &nbsp; &nbsp; &nbsp; 20140501</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Beginning_Time : &nbsp; &nbsp; &nbsp; 000051.486918Z</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;East_Bounding_Coordinate : &nbsp; &nbsp; 33.245</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ending_Date : &nbsp;20140501</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ending_Time : &nbsp;000215.662554Z</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;G-Ring_Latitude : &nbsp; &nbsp; &nbsp;( -36.52, -34.1314, -31.8427, -35.682, -37.0385, -39.4876, -42.0644, -40.6345 )</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;G-Ring_Longitude : &nbsp; &nbsp; ( -2.8678, -1.50608, -0.286205, 15.9487, 33.245, 33.0852, 32.9682, 14.3572 )</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Algorithm_Version : &nbsp;1.O.000.008</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Anc_Filename : &nbsp; &nbsp; &nbsp; Terrain-Eco-ANC-Tile_20030125000000Z_ee00000000000000Z_NA_NA_S0470_1.O.0.0</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Aux_Filename : &nbsp; &nbsp; &nbsp; VIIRS-AOT-LUT_npp_20020101010000Z_20020101010000Z_ee00000000000000Z_PS-1-D-NPP-3-PE-_devl_dev_all-_all</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Beginning_Orbit_Number : &nbsp; &nbsp; 12990</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Beginning_Time_IET : 1777593686486918</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Creation_Date : &nbsp; &nbsp; &nbsp;20140501</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Creation_Time : &nbsp; &nbsp; &nbsp;011922.871045Z</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Day_Night_Flag : &nbsp; &nbsp; Night</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Ending_Time_IET : &nbsp; &nbsp;1777593770662554</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Graceful_Degradation : &nbsp; &nbsp; &nbsp; No</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Granule_ID : NPP000795744508</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Granule_Status : &nbsp; &nbsp; 100% night for day only product</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Granule_Version : &nbsp; &nbsp;A1</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Input_Prod : 53619fde-b97c9-0a180227-5d84d17e</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_LEOA_Flag : &nbsp;Off</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_NPOESS_Document_Ref : &nbsp; &nbsp; &nbsp; &nbsp;474-00001-04-02_JPSS-CDFCB-X-Vol-IV-Part-2_0124B_I1.5.08.03.pdf</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Nadir_Latitude_Max : -35.7285</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Nadir_Latitude_Min : -40.5782</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Nadir_Longitude_Max : &nbsp; &nbsp; &nbsp; &nbsp;15.9386</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Nadir_Longitude_Min : &nbsp; &nbsp; &nbsp; &nbsp;14.3732</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Number_Of_Scans : &nbsp; &nbsp;48</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Percent_Erroneous_Data : &nbsp; &nbsp; &nbsp;0</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Percent_Missing_Data : &nbsp; &nbsp; &nbsp; &nbsp;0</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Percent_Not-Applicable_Data : &nbsp; &nbsp; &nbsp; &nbsp; 0</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Quality_Summary_Names : &nbsp; &nbsp; &nbsp;Aerosol AOT Exclusion Summary</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Quality_Summary_Values : &nbsp; &nbsp; ( 100, 100, 100, 100, 0, 0 )</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Reference_ID : &nbsp; &nbsp; &nbsp; 5361a11a-d4a65-0a180228-5d868537</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Satellite/Local_Azimuth_Angle_Max : &nbsp;179.993</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Satellite/Local_Azimuth_Angle_Min : &nbsp;-179.999</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Satellite/Local_Zenith_Angle_Max : &nbsp; 70.3621</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Satellite/Local_Zenith_Angle_Min : &nbsp; 0.00323079<br>
</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Software_Version : &nbsp; I1.5.08.03</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Solar_Azimuth_Angle_Max : &nbsp; &nbsp;180</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Solar_Azimuth_Angle_Min : &nbsp; &nbsp;-180</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Solar_Zenith_Angle_Max : &nbsp; &nbsp; 163.134</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Solar_Zenith_Angle_Min : &nbsp; &nbsp; 140.003</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;N_Spacecraft_Maneuver : &nbsp; &nbsp; &nbsp; &nbsp;Normal Operations</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;North_Bounding_Coordinate : &nbsp; &nbsp;-31.8427</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;South_Bounding_Coordinate : &nbsp; &nbsp;-42.0654</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;West_Bounding_Coordinate : &nbsp; &nbsp; -2.8678<br>
</div>
<div><br>
</div>
<div>&nbsp;My questions are :<br>
</div>
<div><br>
</div>
<div>&nbsp; &nbsp; &nbsp;1. How to read variables under the group in .h5 ? I saw one example in (http://www.ncl.ucar.edu/Applications/Scripts/hdf5_2.ncl) , but it did not work. However, when I did the following :&nbsp;<br>
</div>
<div>b = f-&gt;AerosolOpticalDepth_at_550nm<br>
</div>
<div><br>
it shows ,&nbsp;</div>
<div>
<div>Variable: b</div>
<div>Type: ushort</div>
<div>Total Size: 76800 bytes</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 38400 values</div>
<div>Number of Dimensions: 2</div>
<div>Dimensions and sizes: &nbsp; [DIM_001 | 96] x [DIM_002 | 400]</div>
<div>Coordinates:</div>
<div>Number Of Attributes: 0&#8203;<br>
</div>
<div><br>
</div>
<div>&nbsp;Is there any other way, variables under the group can be read ?<br>
</div>
<div><br>
</div>
<div>2. how to attach lat-lon along with the variables here.<br>
</div>
<div><br>
</div>
<div>If you need the original file, I can send it is less than 1 mb.<br>
</div>
<div><br>
</div>
<div>&nbsp;Thanks.<br>
</div>
<div>&nbsp;Partha<br>
</div>
<br>
<br>
</div>
<p><br>
</p>
</div>
</body>
</html>