[ncl-talk] CNL read CALIPSO v4.51 data
Ehsan Taghizadeh
ehsantaghizadeh at yahoo.com
Thu Sep 4 15:15:57 MDT 2025
Hi Zhifeng,
Could you please add the following commands before your addfile command:
exists = isfilepresent("CAL_LID_L2_VFM-Standard-V4-51.2017-08-21T14-00-11ZD.hdf")print (exists)
I wonder if your ncl script and the file are in the same place.In case it returns True, could you please add the following commands just after reading your file (after addfile command):
names = getfilevarnames( "CAL_LID_L2_VFM-Standard-V4-51.2017-08-21T14-00-11ZD.hdf")print (names)
----------------------------------------------------------------------------- Best regards,Ehsan Taghizadeh
On Thursday, September 4, 2025 at 01:37:05 PM PDT, Zhifeng Yang via ncl-talk <ncl-talk at mailman.ucar.edu> wrote:
Hi all,
I am using NCL 6.6.2 to read CALIPSO latitude, longitude, and Feature_Classification_Flags variable from CAL_LID_L2_VFM-Standard-V4-51.
fh = addfile("CAL_LID_L2_VFM-Standard-V4-51.2017-08-21T14-00-11ZD.hdf","r") lath = fh->Latitude(:, 0)
lonh = fh->Longitude(:, 0)
vfmh = fh->Feature_Classification_Flags
However, I got the error belowfatal:HDF: An error occurred while attempting to read variable (Feature_Classification_Flags) from file (/glade/derecho/scratch/zhifengy/data/experiment_input/doe_cloud_africa/CALIPSO/CAL_LID_L2_VFM-Standard-V4-51/test/CAL_LID_L2_VFM-Standard-V4-51.2017-08-21T14-00-11ZD.hdf)
Do you have any idea about this? Thanks,
Best,Zhifeng
_______________________________________________
ncl-talk mailing list
ncl-talk at mailman.ucar.edu
List instructions, subscriber options, unsubscribe:
https://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20250904/ed3ea154/attachment.htm>
More information about the ncl-talk
mailing list