[Thread Prev][Thread Next][Index]

[las_users] Problem Adding New Data to LAS



Hi All,

I am trying to add a dataset to a recently installed LAS and the script addXML.sh is complaining that "No Lat/Lon grids found." (see command line output below). However, Ferret seems able to display the data just fine and there are latitude and longitude grids in the file (see ncdump of file below). Is there anything I can do to get addXML.sh to work with this netCDF data or will I have to manually create the .xml file?

Regards,

John

Command line input and result:
-bash-2.05b$ /usr/local/las/bin/addXML.sh -n /data/dgom/hazmat.nc -v
Unknown unit: "sigma_level"
Unknown unit: "sigma_level"
Unknown unit: "sigma_level"
Unknown unit: "sigma_level"
Processing netCDF dataset: /data/dgom/hazmat.nc
File parsed. No Lat/Lon grids found.

Contents of the resulting las_from_addXML.xml file:
<datasets>
<id-d0426912e6 name="Integrated surface currents HAZMAT" url="/data/dgom/hazmat.nc">
<!--This data source has no lat/lon grids that follow a known convention.-->
<variables />
</id-d0426912e6>
</datasets>
<grids />
<axes />

ncdump of netCDF file:
-bash-2.05b$ ncdump -h /data/dgom/hazmat.nc
netcdf hazmat {
dimensions:
nx = 217 ;
ny = 160 ;
sigma = 1 ;
time = UNLIMITED ; // (15 currently)
variables:
float time(time) ;
time:long_name = "Time" ;
time:base_date = 1995, 8, 2, 0 ;
time:units = "days since 1995-08-02 0:00:00 00:00" ;
time:standard_name = "time" ;
float lon(ny, nx) ;
lon:long_name = "Longitude" ;
lon:units = "degrees_east" ;
lon:standard_name = "longitude" ;
float lat(ny, nx) ;
lat:long_name = "Latitude" ;
lat:units = "degrees_north" ;
lat:standard_name = "latitude" ;
float mask(ny, nx) ;
mask:long_name = "Land Mask" ;
mask:units = "nondimensional" ;
float depth(ny, nx) ;
depth:long_name = "Bathymetry" ;
depth:units = "meters" ;
depth:positive = "down" ;
depth:standard_name = "depth" ;
float sigma(sigma) ;
sigma:long_name = "Sigma Stretched Vertical Coordinate at Nodes" ;
sigma:units = "sigma_level" ;
sigma:positive = "down" ;
sigma:standard_name = "ocean_sigma_coordinate" ;
sigma:formula_terms = "sigma: sigma eta: zeta depth: depth" ;
float air_u(time, ny, nx) ;
air_u:long_name = "Eastward Air Velocity" ;
air_u:units = "m/s" ;
air_u:missing_value = -99999.f ;
air_u:standard_name = "eastward_wind" ;
air_u:averaging_window = 0.125f ;
air_u:averaging_offset = 0.f ;
float air_v(time, ny, nx) ;
air_v:long_name = "Northward Air Velocity" ;
air_v:units = "m/s" ;
air_v:missing_value = -99999.f ;
air_v:standard_name = "northward_wind" ;
air_v:averaging_window = 0.125f ;
air_v:averaging_offset = 0.f ;
float u(time, sigma, ny, nx) ;
u:long_name = "Eastward Water Velocity" ;
u:units = "m/s" ;
u:missing_value = -99999.f ;
u:standard_name = "eastward_sea_water_velocity" ;
u:averaging_window = 0.125f ;
u:averaging_offset = 0.f ;
float v(time, sigma, ny, nx) ;
v:long_name = "Northward Water Velocity" ;
v:units = "m/s" ;
v:missing_value = -99999.f ;
v:standard_name = "northward_sea_water_velocity" ;
v:averaging_window = 0.125f ;
v:averaging_offset = 0.f ;

// global attributes:
:file_type = "Full_Grid" ;
:Conventions = "COARDS" ;
:grid_type = "Orthogonal Curv Grid (IM=217,JM=160)" ;
:z_type = "Sigma Coordinates (KB= 37)" ;
:model = "Gulf of Mexico Forecast System" ;
:title = "Integrated surface currents HAZMAT" ;
:comment = "Hindcast Run with Data Assimilation" ;
:source = "Model ID. GOMFD-2005.3S.166" ;
:institution = "NOAA/NOS/CSDL" ;
:history = "Dynalysis Princeton Ocean Model" ;
:references = "rich.patchen@noaa.gov" ;
:creation_date = "2005-06-29 20:32:29 00:00" ;
}



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement