Hi, Lewis!

 Is screen shot generated from ToolsUI (Netcdf-Java)?



--
Save the Earth. Save Earth data in HDF-EOS. Save Big data in HDF.

On Wed, Dec 3, 2014 at 4:40 PM, Mcgibbney, Lewis J (398M) <
[email protected]> wrote:

>  Hi Folks,
> I am really struggling to extract certain Group variables from a HDF4
> hdf-eos Landsat 7 file.
> I am using the netcdf4-python driver [0] in order to achieve this task.
> I’ve installed the chain of dependencies fine.
> The Group Variables which I cannot seem to access are included within the
> attached .png. E.g. Projection, UpperLeftPointMtrs, LowerRightMtrs and
> SphereCode.
> I can however view them when I read in the HDF4 file as follows
>
>  f = Dataset(hdfFile)
>
> print f
>
>  <output>
> …
>
> GROUP=GridStructure
>
> GROUP=GRID_1
>
> GridName="Grid"
>
> XDim=8001
>
> YDim=7271
>
> UpperLeftPointMtrs=(310185.000000,4575015.000000)
>
> LowerRightMtrs=(550215.000000,4356885.000000)
>  …
> </output>
>
>  Can someone please advise me as how I can extract the Group Variables as
> I’ve explained above?
> Thank you very much in advance for any assistance.
> Best
> Lewis
>
>  [0] http://unidata.github.io/netcdf4-python/
>
>
>   Dr. Lewis John McGibbney PhD, B.Sc., MAGU
> Engineering Applications Software Engineer Level 2
> Computer Science for Data Intensive Systems Group 398M
> Jet Propulsion Laboratory
> California Institute of Technology
> 4800 Oak Grove Drive
> Pasadena, California 91109-8099
> Mail Stop : 158-256C
> Tel:  (+1) (818)-393-7402
> Cell: (+1) (626)-487-3476
> Fax:  (+1) (818)-393-1190
> Email: [email protected]
>
>
>
>   Dare Mighty Things
>
> _______________________________________________
> Hdf-forum is for HDF software users discussion.
> [email protected]
>
> http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
> Twitter: https://twitter.com/hdf5
>
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5

Reply via email to