[Thread Prev][Thread Next][Index]

LAS5 and addXml.pl




I am using the new version of LAS and when I add a data set to LAS using
addXml.pl it puts duplicate entries in the axes section for the X and Y
dimensions.  Then when I run "make" it tells me about the duplications.
If I edit the xml file to get rid of the duplications and then run "make"
it works fine.

Any ideas?

The header of one of the files is:

netcdf phy_80 {
dimensions:
	xpos = 95 ;
	ypos = 92 ;
	zpos = 40 ;
	time = UNLIMITED ; // (156 currently)
variables:
	float xpos(xpos) ;
		xpos:long_name = "degrees_east" ;
		xpos:units = "degree" ;
	float ypos(ypos) ;
		ypos:long_name = "degrees_north" ;
		ypos:units = "degree" ;
	float zpos(zpos) ;
		zpos:long_name = "layer" ;
		zpos:units = "meter" ;
		zpos:positive = "down" ;
	float time(time) ;
		time:long_name = "time" ;
		time:units = "month since 1979-12-15 00:00:00" ;
		time:origin = "1-JAN-0000 00:00:00" ;
		time:modulo = " " ;
	float depth(ypos, xpos) ;
		depth:valid_range = 0.f, 5500.f ;
		depth:long_name = "Bathymetry" ;
		depth:scale_factor = 0.0839259f ;
		depth:add_offset = 2750.f ;
		depth:units = "meter" ;
	short u(time, zpos, ypos, xpos) ;
		u:valid_range = -300.f, 300.f ;
		u:long_name = "u   " ;
		u:scale_factor = 0.009155553f ;
		u:add_offset = 0.f ;
		u:units = "cm/s" ;
	short v(time, zpos, ypos, xpos) ;
		v:valid_range = -300.f, 300.f ;
		v:long_name = "v   " ;
		v:scale_factor = 0.009155553f ;
		v:add_offset = 0.f ;
		v:units = "cm/s" ;
	short w(time, zpos, ypos, xpos) ;
		w:valid_range = -50.f, 50.f ;
		w:long_name = "w   " ;
		w:scale_factor = 0.001525925f ;
		w:add_offset = 0.f ;
		w:units = "m/d" ;
	short temp(time, zpos, ypos, xpos) ;
		temp:valid_range = 0.f, 40.f ;
		temp:long_name = "t   " ;
		temp:scale_factor = 0.0006103702f ;
		temp:add_offset = 20.f ;
		temp:units = "degree" ;
	short salt(time, zpos, ypos, xpos) ;
		salt:valid_range = 0.f, 40.f ;
		salt:long_name = "salinity" ;
		salt:scale_factor = 0.0006103702f ;
		salt:add_offset = 20.f ;
		salt:units = "psu" ;

// global attributes:
		:experiment = "GOM run2 - monthly river, W(U,V,T,S)SURF" ;
}


Thanks,

Steve
_____________________________________________________________
 Steve Cousins                 Email: cousins@umit.maine.edu
 Research Associate            Phone: (207) 581-4302
 Ocean Modeling Group
 School of Marine Sciences     208 Libby Hall
 University of Maine           Orono, Maine 04469









[Thread Prev][Thread Next][Index]

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