[netcdfgroup] how to extract data

Dear All,

I have a NetCDF file and the description is in accessary,   I use  " ncdump
-v layer_absorber profile.nc > out.txt" to extract the data, but there are
so many data extracted.
For instance, The description of "layer_absorber" as following:
#
    double layer_absorber(n_profiles, n_absorbers, n_layers) ;
                layer_absorber:long_name = "Layer absorber" ;
                layer_absorber:units = "Variable (see Absorber_Units_ID)" ;
                layer_absorber:_FillValue = -999. ;
#
Could you  tell me how to extract the data of " layer_absorber(1,1,1:100) "
?

Thank you.


Sincerely.

-- 
Shenghui
netcdf UMBC.AtmProfile {
dimensions:
        n_levels = 101 ;
        n_layers = 100 ;
        n_absorbers = 5 ;
        n_profiles = 48 ;
        pdsl = 512 ;

variables:
        char profile_description(n_profiles, pdsl) ;
                profile_description:long_name = "Description of profile" ;
        long climatology_model(n_profiles) ;
                climatology_model:long_name = "Climatology model associated 
with profile date/time/location." ;
        double date_time(n_profiles) ;
                date_time:long_name = "Date and Time in which profile was 
recorded(sonde) or for which it was generated(model)" ;
                date_time:units = "YYYYMMDD.HH" ;
                date_time:_FillValue = -999. ;
        double latitude(n_profiles) ;
                latitude:long_name = "Latitude of profile location" ;
                latitude:units = "degress North (-90->+90)" ;
                latitude:_FillValue = -999. ;
        double longitude(n_profiles) ;
                longitude:long_name = "Longitude of profile location" ;
                longitude:units = "degress East (0->360)" ;
                longitude:_FillValue = -999. ;
        double surface_altitude(n_profiles) ;
                surface_altitude:long_name = "Surface altitude of profile" ;
                surface_altitude:units = "metres (m)" ;
                surface_altitude:_FillValue = -999. ;
        long absorber_id(n_absorbers) ;
                absorber_id:long_name = "HITRAN/LBLRTM absorber ID number for 
atmospheric profile constituents" ;
                absorber_id:units = "N/A" ;
                absorber_id:_FillValue = -1 ;
        long absorber_units_id(n_absorbers) ;
                absorber_units_id:long_name = "LBLRTM absorber units ID number" 
;
                absorber_units_id:units = "N/A" ;
                absorber_units_id:_FillValue = -1 ;
        double level_pressure(n_profiles, n_levels) ;
                level_pressure:long_name = "Level pressure" ;
                level_pressure:units = "hectoPascals (hPa)" ;
                level_pressure:_FillValue = -999. ;
        double level_temperature(n_profiles, n_levels) ;
                level_temperature:long_name = "Level temperature" ;
                level_temperature:units = "Kelvin (K)" ;
                level_temperature:_FillValue = -999. ;
        double level_absorber(n_profiles, n_absorbers, n_levels) ;
                level_absorber:long_name = "Level absorber" ;
                level_absorber:units = "Variable (see Absorber_Units_ID)" ;
                level_absorber:_FillValue = -999. ;
        double level_altitude(n_profiles, n_levels) ;
                level_altitude:long_name = "Level altitude" ;
                level_altitude:units = "metres (m)" ;
                level_altitude:_FillValue = -999. ;
        double layer_pressure(n_profiles, n_layers) ;
                layer_pressure:long_name = "Layer pressure" ;
                layer_pressure:units = "hectoPascals (hPa)" ;
                layer_pressure:_FillValue = -999. ;
        double layer_temperature(n_profiles, n_layers) ;
                layer_temperature:long_name = "Layer temperature" ;
                layer_temperature:units = "Kelvin (K)" ;
                layer_temperature:_FillValue = -999. ;
        double layer_absorber(n_profiles, n_absorbers, n_layers) ;
                layer_absorber:long_name = "Layer absorber" ;
                layer_absorber:units = "Variable (see Absorber_Units_ID)" ;
                layer_absorber:_FillValue = -999. ;
        double layer_delta_z(n_profiles, n_layers) ;
                layer_delta_z:long_name = "Layer thickness" ;
                layer_delta_z:units = "metres (m)" ;
                layer_delta_z:_FillValue = -999. ;

// global attributes:
                :write_module_history = "$Id: AtmProfile_netCDF_IO.f90,v 4.0 
2004/11/02 20:13:02 paulv Exp $" ;
                :creation_date_and_time = "2004/11/09, 16:06:24 -0500UTC" ;
                :title = "UMBC atmospheric profile set." ;
                :history = "$Id: UMBC_Profile_Set.f90,v 1.3 2003/08/13 21:21:02 
paulv Exp $; $Id: Interpolate.f90,v 3.10 2004/06/25 17:19:21 paulv Exp $; $Id: 
Create_AtmProfile.f90,v 1.10 2004/11/02 20:11:14 paulv Exp $" ;
                :comment = "Original profiles interpolated to the 101 AIRS 
pressure levels." ;
                :id_tag = "UMBC" ;
}
  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: