Re: Application examples: HDF files

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Tue, 17 Feb 2009 15:01:00 -0700

G'day

I created those examples. I'll try to find the files.
I have quite a few HDF4 and HDF4-EOS files.
Offline, I will send you an ftp address where I will place
a suite of HDF files.

D

Kevin Keay wrote:
> Hi!
>
> I am trying to run a set of HDF examples listed on the NCL web site:
>
> http://www.ncl.ucar.edu/Applications/eosdis.shtml
>
> I have NCL version 5.0.0 under Debian Linux and Solaris.
>
> 1. The examples eosdis_1.ncl through eosdis_4.ncl refer to the HDF
> file eos.hdf. Is this file available? I wasn’t able to locate it
> in the data files section:
> http://www.ncl.ucar.edu/Applications/Data/
>
> 2. The example eosdis_5.ncl refers to the HDF file MOD35_L2.A2001094.0530.004.2003017124059.hdf. This file is not on your web site but there is a similar-looking file MOD05_L2.A2002161.1830.004.2003221153410.hdf. I had to modify some of the NCL script to read it but the script seems to ‘hang’ at the step: map = gsn_csm_contour_map(wks, cmfov, res) ; map – there is no error message; after a few minutes I pressed Ctrl-C to abort. I have attached the modified script. Note: I am not a ‘proper’ NCL user at this stage although I do make much use of NCAR Graphics! The main change (apart from the HDF filename) is:
>
> cldmsk = f->Cloud_Mask_QA(:,:) ; read data for first byte [NCL starts at 0]
>
> By the way, the HDF example: http://www.ncl.ucar.edu/Applications/Scripts/avhrr_1.ncl works fine - the required data file was on your web site.
>
> Essentially, I just wanted some HDF-related scripts to pass on to a graduate student as it appears he will be accessing similar data files – it is always good to have a working example or two!
>
> Cheers!
>
> Kevin
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Feb 17 2009 - 15:01:00 MST

This archive was generated by hypermail 2.2.0 : Thu Feb 19 2009 - 09:54:51 MST