[Thread Prev][Thread Next][Index]

Re: [las_users] LAS error



Thanks Roland, it works great!

Roland Schweitzer wrote:
This is a couple of months old, but I looked at it today and thought it worth a comment since point data will be an area of increasing focus for the LAS team.

All of these comments have to do with the code that will be released soon as LAS v7.2. Running addXML from that code base produces a correct configuration file for this data set:

<datasets>
<id-6b9dbc4872 name="http://dods.ndbc.noaa.gov/thredds/dodsC/data/wlevel/ptat2/ptat2l2007.nc"; url="http://dods.ndbc.noaa.gov/thredds/dodsC/data/wlevel/ptat2/ptat2l2007.nc";>
<variables>
<water_level-id-6b9dbc4872 name="Tide Water Level" units="feet" url="#water_level"> <link match="/lasdata/grids/grid-longitude-latitude-time-id-6b9dbc4872" />
</water_level-id-6b9dbc4872>
</variables>
</id-6b9dbc4872>
</datasets>
<grids>
<grid-longitude-latitude-time-id-6b9dbc4872>
<link match="/lasdata/axes/longitude-x-id-6b9dbc4872" />
<link match="/lasdata/axes/latitude-y-id-6b9dbc4872" />
<link match="/lasdata/axes/time-t-id-6b9dbc4872" />
</grid-longitude-latitude-time-id-6b9dbc4872>
</grids>
<axes>
<longitude-x-id-6b9dbc4872 type="x" units="degrees_east">
<v>-97.05</v>
</longitude-x-id-6b9dbc4872>
<latitude-y-id-6b9dbc4872 type="y" units="degrees_north">
<v>27.828</v>
</latitude-y-id-6b9dbc4872>
<time-t-id-6b9dbc4872 type="t" units="hour">
<arange start="2006-12-31 23:06:00" size="8760" step="1" />
</time-t-id-6b9dbc4872>
</axes>

However, there appears to be a bug LAS and this data set configuration fails to correctly initialize the map when the data set is selected. We'll take a look at that and get it fixed, but not for this coming release.

If however, you edit the X and Y axis of the configuration to look like this:

<longitude-x-id-6b9dbc4872 type="x" units="degrees_east">
<arange start="-97.05" step="1" size="1"/>
</longitude-x-id-6b9dbc4872>
<latitude-y-id-6b9dbc4872 type="y" units="degrees_north">
<arange start="27.828" step="1" size="1"/>
</latitude-y-id-6b9dbc4872>

Then everything works beautifully and you can create time series plots from this station in LAS.

Roland

On 10/08/2010 10:39 AM, Upendra Dadi wrote:
Hi,
I am getting the error below when trying to plot a time series graph using data from a buoy. Is it possible to set the properties region_0_x/y_hi/lo in the LAS configuration file?
Upendra


Server at Revision r5966:5976M

STOP -script mode, ERROR RUNNING SCRIPT
**ERROR: variable unknown or not in data set: NAN
DEFINE SYMBOL region_x_lo = `INT(100000 * NaN) / 100000`
Command file, command group, or REPEAT execution aborted

go "$1"
!-> go "/usr/share/tomcat5/webapps/las/WEB-INF/classes/resources/ferret/temp/ferret_operation_1286551927761.jnl"
! Symbols from the server
DEFINE SYMBOL data_0_ID = water_level-id-6b9dbc4872 DEFINE SYMBOL data_0_dataset_ID = id-6b9dbc4872 DEFINE SYMBOL data_0_dataset_name = ptat2l2007.nc DEFINE SYMBOL data_0_dataset_url = http://dods.ndbc.noaa.gov/thredds/dodsC/data/wlevel/ptat2/ptat2l2007.nc DEFINE SYMBOL data_0_dsid = id-6b9dbc4872 DEFINE SYMBOL data_0_ftds_url = http://abalone.nodc.noaa.gov:8080/thredds/dodsC/las/id-6b9dbc4872/data_dods.ndbc.noaa.gov_thredds_dodsC_data_wlevel_ptat2_ptat2l2007.nc.jnl
                                DEFINE SYMBOL data_0_grid_type = regular
                                DEFINE SYMBOL data_0_intervals = t
DEFINE SYMBOL data_0_name = Tide Water Level
                                DEFINE SYMBOL data_0_points = xyt
                                DEFINE SYMBOL data_0_region = region_0
DEFINE SYMBOL data_0_title = Tide Water Level
                                DEFINE SYMBOL data_0_units = feet
DEFINE SYMBOL data_0_url = http://dods.ndbc.noaa.gov/thredds/dodsC/data/wlevel/ptat2/ptat2l2007.nc
                                DEFINE SYMBOL data_0_var = water_level
DEFINE SYMBOL data_0_xpath = /lasdata/datasets/id-6b9dbc4872/variables/water_level-id-6b9dbc4872
                                DEFINE SYMBOL data_count = 1
                                DEFINE SYMBOL ferret_fill_type = fill
DEFINE SYMBOL ferret_interpolate_data = false
                                DEFINE SYMBOL ferret_land_type = contour
DEFINE SYMBOL ferret_service_action = Plot_1D
                                DEFINE SYMBOL ferret_size = 0.5
                                DEFINE SYMBOL ferret_view = t
                                DEFINE SYMBOL las_debug = true
                                DEFINE SYMBOL operation_ID = Plot_1D
DEFINE SYMBOL operation_key = A0C97E18F77A2C845EDCB9AA36262BB4
                                DEFINE SYMBOL operation_name = Line plot
                                DEFINE SYMBOL operation_service = ferret
DEFINE SYMBOL operation_service_action = Plot_1D DEFINE SYMBOL product_server_default_dsid = ocean_atlas_subset DEFINE SYMBOL product_server_default_operation = Plot_2D_XY_zoom DEFINE SYMBOL product_server_default_option = Options_2D_image_contour_xy_7 DEFINE SYMBOL product_server_default_varid = TEMP-ocean_atlas_subset DEFINE SYMBOL product_server_default_view = xy DEFINE SYMBOL product_server_ps_timeout = 3600 DEFINE SYMBOL product_server_ui_timeout = 20 DEFINE SYMBOL product_server_use_cache = false DEFINE SYMBOL region_0_t_hi = 31-Dec-2007 22:06:00 DEFINE SYMBOL region_0_t_lo = 31-Dec-2006 23:06:00
                                DEFINE SYMBOL region_0_x_hi = NaN
                                DEFINE SYMBOL region_0_x_lo = NaN
                                DEFINE SYMBOL region_0_y_hi = 5
                                DEFINE SYMBOL region_0_y_lo = 5
                 DEFINE SYMBOL result_cancel_ID = cancel
DEFINE SYMBOL result_cancel_filename = /var/lib/tomcat5/webapps/las/output/A0C97E18F77A2C845EDCB9AA36262BB4_cancel.txt DEFINE SYMBOL result_cancel_type = cancel
                                DEFINE SYMBOL result_count = 6
                                DEFINE SYMBOL result_debug_ID = debug
DEFINE SYMBOL result_debug_filename = /var/lib/tomcat5/webapps/las/output/A0C97E18F77A2C845EDCB9AA36262BB4_debug.txt
                                DEFINE SYMBOL result_debug_type = debug
DEFINE SYMBOL result_map_scale_ID = map_scale DEFINE SYMBOL result_map_scale_filename = /var/lib/tomcat5/webapps/las/output/A0C97E18F77A2C845EDCB9AA36262BB4_map_scale.xml DEFINE SYMBOL result_map_scale_type = map_scale DEFINE SYMBOL result_plot_image_ID = plot_image DEFINE SYMBOL result_plot_image_filename = /var/lib/tomcat5/webapps/las/output/A0C97E18F77A2C845EDCB9AA36262BB4_plot_image.gif DEFINE SYMBOL result_plot_image_type = image DEFINE SYMBOL result_ref_map_ID = ref_map DEFINE SYMBOL result_ref_map_filename = /var/lib/tomcat5/webapps/las/output/A0C97E18F77A2C845EDCB9AA36262BB4_ref_map.gif
                                DEFIN





[Thread Prev][Thread Next][Index]


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

Privacy Policy | Disclaimer | Accessibility Statement