Hey all,
        Is it possible to copy / append an SDS from within a L2 SeaDAS produced 
hdf4 
to an new SDS with all the same attribute, but a different name, inside the 
same hdf file? I also have to do this in batch mode, commandline only. For 
instance I want to copy the chlor_a SDS in its entirety to a new SDS chlor_c 
as an example. From idl's hdf_info:

IDL> hdf_info, "A2011156181500.L2"
% Compiled module: HDF_INFO.
% Loaded DLM: HDF.
 *****BEGINNING OF HDF_INFORMATION*****

================================================================================
 FILENAME       : A2011156181500.L2
================================================================================
        # of HDF free palettes =    0
================================================================================
        # of HDF-AN file descriptions =    0
        # of HDF-AN data descriptions =    0
        # of HDF-AN file labels =    0
        # of HDF-AN data labels =    0
================================================================================
        # of HDF-GR images =   0
        # of HDF-GR file attributes =   0
================================================================================
        # of MFSD =   25

--------------------------------------------------------------------------------
          Information about MFHDF DataSets
--------------------------------------------------------------------------------
    NAME   IDL_Type   HDF_Type      Rank   Dimensions
---------  -------- ----------      ----  ------------
           ------------- Atrribute Info -------------

... skipping a bunch ...
          
______________________________________________________________________
   chlor_a    FLOAT DFNT_FLOAT32      2   [1287, 560] mg m^-3
           Attribute =>   1      long_name = Chlorophyll Concentration, OC3 
Algorithm
           Attribute =>   2          slope =        1.000000
           Attribute =>   3      intercept =        0.000000
           Attribute =>   4          units = mg m^-3
           Attribute =>   5  bad_value_sca =       -32767.00
           Attribute =>   6  bad_value_uns =       -32767.00

to also have this in the same file:

          
______________________________________________________________________
   chlor_c    FLOAT DFNT_FLOAT32      2   [1287, 560] mg m^-3
           Attribute =>   1      long_name = Chlorophyll Concentration, OC3 
Algorithm
           Attribute =>   2          slope =        1.000000
           Attribute =>   3      intercept =        0.000000
           Attribute =>   4          units = mg m^-3
           Attribute =>   5  bad_value_sca =       -32767.00
           Attribute =>   6  bad_value_uns =       -32767.00



Any advice at all is greatly appreciated. Would be great to do it in idl, but 
no clue there either. 



-- 
Brock Murch
Senior Systems Administrator
College of Marine Science
University of South Florida 
140 7th Ave South  
St. Petersburg, FL 33701 

(727) 553-3952 4#


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to