Read data with the same name in HDF file

From: Mei (smeitse AT XXXXXX)
Date: Thu Sep 16 2004 - 01:16:34 MDT

  • Next message: Derrick Snowden: "ncl binaries"

    Hi,
    I opened an HDF file using NCL and found out 6 variables have the same
    name but different SDS numbers and sizes. How can I tell NCL to read the
    specific piece of data? Below are the information of these variables.
    Thank you.

    Name of HDF file: CER_SRBAVG1_Sample_R3V2
      ______________________________________________________________________
    SDS [ 44 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 5 ] 1.0 deg. regional long. zones
      Dimension => 2 [ 5 ] 1.0 deg. regional colat. zones
      Dimension => 3 [ 5 ] Monthly Hourly Avgs
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = 1.0 Degree Regional Monthly
    Hourly
     

                             Surface Fluxes

      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 3*5, 3 ]
      ______________________________________________________________________
    SDS [ 103 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 5 ] 1.0 deg. regional long. zones
      Dimension => 2 [ 5 ] 1.0 deg. regional colat. zones
      Dimension => 3 [ 1 ] Monthly Avg
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = 1.0 Degree Regional
    Monthly

     

                             Surface Fluxes

      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 2*5, 1, 3 ]
      CHDF_N_SDSRANGE_NOTSET_INFILE
          regen_data()
          occured with sfgrange data type: 5
      ______________________________________________________________________
    SDS [ 152 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 1 ] 1.0 deg. zonal long. zones
      Dimension => 2 [ 5 ] 1.0 deg. zonal colat. zones
      Dimension => 3 [ 5 ] Monthly Hourly Avgs
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = 1.0 Degree Zonal Monthly
    Hourly
     

                             Surface Fluxes
      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 1, 2*5, 3 ]
      ______________________________________________________________________
    SDS [ 201 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 1 ] 1.0 deg. zonal long. zones
      Dimension => 2 [ 5 ] 1.0 deg. zonal colat. zones
      Dimension => 3 [ 1 ] Monthly Avg
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = 1.0 Degree Zonal Monthly
    Hourly

     

                             Surface Fluxes

      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 1, 5, 1, 3 ]
      ______________________________________________________________________
    SDS [ 250 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 1 ] 1.0 deg. global long. zones
      Dimension => 2 [ 1 ] 1.0 deg. global colat. zones
      Dimension => 3 [ 5 ] Monthly Hourly Avgs
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = 1.0 Degree Zonal
    Monthly

     

                             Surface Fluxes

      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 2*1, 5, 3 ]
    CHDF_N_SDSRANGE_NOTSET_INFILE
          regen_data()
          occured with sfgrange data type: 5
      ______________________________________________________________________
    SDS [ 299 ] : Total-sky Sfc Net SW Flux - Mod A
         Number of Dims: 4

      Dimension => 1 [ 1 ] 1.0 deg. global long. zones
      Dimension => 2 [ 1 ] 1.0 deg. global colat. zones
      Dimension => 3 [ 1 ] Monthly Avg
      Dimension => 4 [ 3 ] Stats

      Attribute => 2 long_name = Global Monthly
    Hourly

     

                             Surface Fluxes

      SDS data type: 4byte real, sds_rank = 4
      Dimensions: [ 3*1, 3 ]
      ______________________________________________________________________

    Regards,
    Mei

    _______________________________________________
    ncl-talk mailing list
    ncl-talk AT ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Thu Sep 16 2004 - 07:30:55 MDT