[Thread Prev][Thread Next][Index]

Re: [las_users] why addxml utility not working ?



The libraries used by addXML depend on the Conventions global attribute to determine what conventions are being used to organize the data in the netCDF file.  I can't tell from the dump you sent if there are global attributes that were cut off from the bottom of the email, but a global attribute of Conventsions = "CF-1.0" or similar might be all that's needed to make addXML work properly with these data.

Roland


On Tue, Dec 18, 2012 at 3:37 AM, Akshay Hegde <akshay.k.hegde@xxxxxxxxx> wrote:
Please Help...I could not able to add datasets using addxml.sh


currently SET data sets:
    1> ./nioa_climatology_annual_temp_salt_nio.nc
 name     title                             I         J         K         L         M         N
 TEMP     Temperature                1:90      1:70      1:33      1:1       ...       ...
 SALT     Salinity                         1:90      1:70      1:33      1:1       ...       ...
 
    2> ./nioa_climatology_monthly_temp_salt_nio.nc
 name     title                             I         J         K         L         M         N
 TEMP     Temperature                1:90      1:70      1:24      1:12      ...       ...
 SALT     Salinity                         1:90      1:70      1:24      1:12      ...       ...
 
    3> ./nioa_climatology_seasonal_temp_salt_nio.nc  (default)
 name     title                             I         J         K         L         M         N
 TEMP     Temperature                 1:90      1:70      1:33      1:4       ...       ...
 SALT     Salinity                         1:90      1:70      1:33      1:4       ...       ...



root@las:/las/bin# sh addXML.sh -n /usr/local/ferret/FER_DSETS/LAS_Data/India/climatology/nioa_climatology_monthly_temp_salt_nio.nc
ERROR addXML - Unable to read dataset at /usr/local/ferret/FER_DSETS/LAS_Data/India/climatology/nioa_climatology_monthly_temp_salt_nio.nc with
ERROR addXML -
ERROR addXML - No grids were found in the input data sets.
ERROR addXML - Check to see if the OPeNDAP servers being referenced are running.
ERROR addXML - Verify that the netCDF files referenced are COARDS or CF compliant.
ERROR addXML -

Heade information of one file

netcdf nioa_climatology_monthly_temp_salt_nio {
dimensions:
    LONGITUDE = 90 ;
    LATITUDE = 70 ;
    DEPTH = 24 ;
    TIME = UNLIMITED ; // (12 currently)
variables:
    double LONGITUDE(LONGITUDE) ;
        LONGITUDE:units = "degrees_east" ;
        LONGITUDE:modulo = 360. ;
        LONGITUDE:point_spacing = "even" ;
        LONGITUDE:axis = "X" ;
    double LATITUDE(LATITUDE) ;
        LATITUDE:units = "degrees_north" ;
        LATITUDE:point_spacing = "even" ;
        LATITUDE:axis = "Y" ;
    double DEPTH(DEPTH) ;
        DEPTH:positive = "down" ;
        DEPTH:point_spacing = "uneven" ;
        DEPTH:axis = "Z" ;
    double TIME(TIME) ;
        TIME:units = "MONTHS(NOLEAP) since 0000-01-01 00:00:00" ;
        TIME:time_origin = "01-JAN-0000 00:00:00" ;
        TIME:calendar = "NOLEAP" ;
        TIME:modulo = 12. ;
        TIME:axis = "T" ;
    float TEMP(TIME, DEPTH, LATITUDE, LONGITUDE) ;
        TEMP:units = "degreeC" ;
        TEMP:missing_value = -1.e+34f ;
        TEMP:_FillValue = -1.e+34f ;
        TEMP:long_name = "Temperature" ;
    float SALT(TIME, DEPTH, LATITUDE, LONGITUDE) ;
        SALT:units = "PSU" ;
        SALT:missing_value = -1.e+34f ;
        SALT:_FillValue = -1.e+34f ;
        SALT:long_name = "Salinity" ;

// global attributes:



[Thread Prev][Thread Next][Index]


Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement