The trmm_1.ncl example works for the original file.
The examples on the Applications page are not meant to be
'plug and go'. Users must look at the file(s) to be processed
and make appropriate changes.
%> ncl_filedump foo.hdf | less
Is it a HDF-EOS file? if so,
%> ncl_filedump foo.hdf.hdfeos | less
---- The example file has: Variable: f Type: file filename: 3B42.030901.0.6 path: 3B42.030901.0.6.HDF file global attributes: CoreMetadata_0 : OBJECT=OrbitNumber; Value=-9999; Data_Location=PGE; Mandatory=FALSE; END_OBJECT=OrbitNumber; [SNIP ... skip lots of information] dimensions: scan = 1 longitude = 1440 latitude = 400 variables: float precipitation ( scan, longitude, latitude ) hdf_name : precipitation float relativeError ( scan, longitude, latitude ) hdf_name : relativeError ======================================================== If the file you are using does not look like this, you must make appropriate changes. ============================= Also: Always include what version of NCL you are using: %> ncl -V Good luck On 8/29/12 7:10 AM, Ivanna Mo wrote: > Hi, > I used the script trmm_1.ncl to plot the 3-hourly precipitation. I > changed nothing, but there are some warnings: > > warning:HDF: fakeDim2 is a zero length dimension some variables may be > ignored > warning:HDF: fakeDim3 is a zero length dimension some variables may be > ignored > warning:HDF: fakeDim4 is a zero length dimension some variables may be > ignored > warning:HDF: A zero length dimension was found in variable > (InputFileNames), ignoring this variable > warning:HDF: A zero length dimension was found in variable > (InputAlgorithmVersions), ignoring this variable > warning:HDF: A zero length dimension was found in variable > (InputGenerationDateTimes), ignoring this variable > fatal:Number of subscripts on rhs do not match number of dimensions of > variable,(3) Subscripts used, (2) Subscripts expected > fatal:Execute: Error occurred at or near line 74 in file trmm_1.ncl > > Anyone can help? > > Thanks in advance > > > > _______________________________________________ > ncl-talk mailing list > List instructions, subscriber options, unsubscribe: > http://mailman.ucar.edu/mailman/listinfo/ncl-talk > _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Wed Aug 29 07:31:53 2012
This archive was generated by hypermail 2.1.8 : Tue Sep 11 2012 - 15:30:42 MDT