[ncl-talk] TRMM 2A12 V7 data

Geeta Geeta geetag54 at yahoo.com
Sun Apr 17 21:15:45 MDT 2016


Hi NCL users. I am trying to extract the hydrometeor profiles from the TRMM 2A12 V7 data. This data is orbital data in HDF format. The documentation of 2A12 says that two arrays have to be multiplied in order to get the profile.  The DOC is available on (http://pps.gsfc.nasa.gov/Documents/filespec.TRMM.V7.pdf). Pls refer to the Page  102-119 for the details. The Pg 119 mentions that two arrays ie. ClusterScale and Cluster have to be multiplied in order to get the profile. 
I get an error like this.
Copyright (C) 1995-2014 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.2.1 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details.
Variable: hdf4_fileType: filefilename: 2A12.20090929.67632.7path: 2A12.20090929.67632.7.HDF   file global attributes:      FileHeader : AlgorithmID=2A12;AlgorithmVersion=PPS.V1;FileName=2A12.20090929.67632.7.HDF;GenerationDateTime=2011-08-12T21:48:28.000Z;StartGranuleDateTime=2009-09-29T03:57:43.841Z;StopGranuleDateTime=2009-09-29T05:30:05.033Z;GranuleNumber=67632;NumberOfSwaths=1;NumberOfGrids=0;GranuleStart=SOUTHERNMOST_LATITUDE;TimeInterval=ORBIT;ProcessingSystem=PPS;ProductVersion=7;MissingData=0;      InputRecord : InputFileNames=1B11.20090929.67632.7.HDF;InputAlgorithmVersions=7.0;InputGenerationDateTimes=2011-08-12T21:40:18.000Z;      NavigationRecord : LongitudeOfMaximumLatitude=21.482017;SolarBetaAngleAtBeginningOfGranule=-4.123854;SolarBetaAngleAtEndOfGranule=-3.867336;      FileInfo : DataFormatVersion=m;TKCodeBuildVersion=1;MetadataVersion=m;FormatPackage=HDF Version 4.2 Release 4, January 25, 2009;BlueprintFilename=TRMM.V7.2A12.blueprint.xml;BlueprintVersion=BV_13;TKIOVersion=1.6;--More--MetadataStyle=PVL;EndianType=LITTLE_ENDIAN;      GprofInfo : Satellite=TRMM;Sensor=TMI;OceanDatabase=gprof_TMIpost_V7_233.dtb;LandDatabase=TMIrainstr_land_400.dtb;StructureFlag=-1;nSpecies=6;nFIndex=13;nLayer=28;nCluster=100;Comment1=Successful Completion;Comment2=none;Dummy=none;      SwathHeader : NumberScansInSet=1;MaximumNumberScansTotal=3100;NumberScansBeforeGranule=0;NumberScansGranule=2919;NumberScansAfterGranule=0;NumberPixels=208;ScanType=CONICAL;   dimensions:      nlayer = 28      ncluster = 100      nfindex = 13      nspecies = 6      nscan = 2919  // unlimited      npixel = 208      fakeDim6 = 3      fakeDim7 = 3   variables:      float heightLayerTop ( nlayer )         units : km         hdf_name : heightLayerTop
      float cluster ( ncluster, nlayer, nfindex, nspecies )         hdf_name : cluster
--More--

     byte clusterNumber ( nscan, npixel, nspecies )         hdf_name : clusterNumber
      float clusterScale ( nscan, npixel, nspecies )         hdf_name : clusterScale    byte Second ( nscan )         units : s         hdf_name : Second
      short MilliSecond ( nscan )         units : ms         hdf_name : MilliSecond
      short DayOfYear ( nscan )         units : days         hdf_name : DayOfYear
      float Latitude ( nscan, npixel )         units : degrees         hdf_name : Latitude
      float Longitude ( nscan, npixel )         units : degrees         hdf_name : Longitude
      byte missing ( nscan )         hdf_name : missing
      byte validity ( nscan )         hdf_name : validity
      byte qac ( nscan )         hdf_name : qac
      byte geoQuality ( nscan )         hdf_name : geoQuality
      byte dataQuality ( nscan )         hdf_name : dataQuality
      short SCorientation ( nscan )         units : degrees         hdf_name : SCorientation--More--      byte probabilityOfPrecip ( nscan, npixel )         units : percent         hdf_name : probabilityOfPrecip
      byte sunGlintAngle ( nscan, npixel )         units : degrees         hdf_name : sunGlintAngle
      short freezingHeight ( nscan, npixel )         units : m         hdf_name : freezingHeight
      float surfacePrecipitation ( nscan, npixel )         units : mm/hr         hdf_name : surfacePrecipitation
      float convectPrecipitation ( nscan, npixel )         units : mm/hr         hdf_name : convectPrecipitation
      float surfaceRain ( nscan, npixel )         units : mm/hr         hdf_name : surfaceRain
      float cloudWaterPath ( nscan, npixel )         units : kg/m^2         hdf_name : cloudWaterPath
      float rainWaterPath ( nscan, npixel )         units : kg/m^2         hdf_name : rainWaterPath
      float iceWaterPath ( nscan, npixel )         units : kg/m^2         hdf_name : iceWaterPath
--More-- float seaSurfaceTemperature ( nscan, npixel )         units : K         hdf_name : seaSurfaceTemperature
      float totalPrecipitableWater ( nscan, npixel )         units : mm         hdf_name : totalPrecipitableWater
      float windSpeed ( nscan, npixel )         units : m/s         hdf_name : windSpeed
      byte freezingHeightIndex ( nscan, npixel )         hdf_name : freezingHeightIndex
      byte clusterNumber ( nscan, npixel, nspecies )         hdf_name : clusterNumber
      float clusterScale ( nscan, npixel, nspecies )         hdf_name : clusterScale


Variable: CLUSTERType: floatTotal Size: 5200 bytes            1300 valuesNumber of Dimensions: 2Dimensions and sizes: [ncluster | 100] x [nfindex | 13]Coordinates: Number Of Attributes: 1  hdf_name : cluster(0)  (0) min=0   max=0.835986
Variable: clus_scaleType: floatTotal Size: 2428608 bytes            607152 valuesNumber of Dimensions: 2Dimensions and sizes: [nscan | 2919] x [npixel | 208]Coordinates: Number Of Attributes: 4  _FillValue : -9999.9  lat2d : <ARRAY of 607152 elements>  lon2d : <ARRAY of 607152 elements>  hdf_name : clusterScale(0)  (0) min=0.005   max=1.873fatal:Mul: Dimension size, for dimension number 0, of operands does not match, can't continue
fatal:["Execute.c":8578]:Execute: Error occurred at or near line 96 in file 2A12.20090929.67632.7.HDF.surfpptn.ncl
pls suggest
 Geeta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160418/2982b2fb/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2A12.20090929.67632.7.HDF.surfpptn.ncl
Type: application/octet-stream
Size: 4346 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160418/2982b2fb/attachment.obj 


More information about the ncl-talk mailing list