[Thread Prev][Thread Next][Index]

Re: [las_users] error when using "Export to Desktop Application" for curvlinear grids



Hi John,
Yes, this is something we know about, and the request should at least return something better than just an error message.  For data on curvilinear grids, requesting a subset of data in XY is of course not a simple "set region". 

The plotting products compute a region in I,J index space that includes the requested XY region, and then that's what is used to draw the plot if it's an xy view. If the plot is a slice in another direction, say in XT, or a line in X or Y, then a SAMPLE function is called to get the data that's plotted.

The "Export to Desktop Application" is a simple product that just returns the URL and region, not doing any calculation. Also, not all of the applications that we "export" to can handle curvilinear grids, or would need extra information to do so.  Means we don't have a general solution for this, but we could return the URL and the names of the curvilinear coordinate variables, with some notes about the grid.

-Ansley



On 7/29/2010 5:26 PM, John Maurer, IV wrote:
Hi All,
I'm having difficulty getting the "Export to Desktop Application" feature to work in LAS V7.1.1 for my datasets which are on a curvlinear grid (it works fine on my regular grids). For an example, try this LAS URL: http://oos.soest.hawaii.edu/las/getUI.do?dsid=hiroms_hiig&catid=hiroms_hiig&varid=temp-hiroms_hiig&plot=Plot_2D_XY_zoom&view=xy. Note that I already have mapfiles created and defined in LAS for my curvlinear datasets and they produce plots just fine. When I click on "Export to Desktop Application" and select all or any of the scripts, I get an error message: "The region index file was not found." With debugging turned on, I also get:
/usr/local/tomcat/webapps/las/output/E9CEDAF34A8AED403D40F025BBEDC7F3_index.xml (No such file or directory)


I tried opening up the permissions on /usr/local/tomcat/webapps/las/output/ from 755 to 777 as a test and I still get the same error. My catalina.out gives the following related messages:


2010-07-29 14:03:17,915 DEBUG las.filter.RequestInputFilter - Found parameter: xml
2010-07-29 14:03:17,915 DEBUG las.filter.RequestInputFilter - Found parameter: debug
2010-07-29 14:03:17,917 DEBUG product.server.ProductServerAction - Entering ProductServerAction
2010-07-29 14:03:17,917 DEBUG product.server.ProductServerAction - Processing request xml=<?xml version="1.0"?><lasRequest href="" class="moz-txt-link-rfc2396E" href="file:las.xml">"file:las.xml"><link match="/lasdata/operations/operation[@ID='Gen_Scripts']" /><properties><ferret><view>xy</view><gen_script_option>opendap</gen_script_option></ferret><las><debug>true</debug></las><product_server><use_cache>false</use_cache></product_server></properties><args><link match="/lasdata/datasets/hiroms_hiig/variables/temp-hiroms_hiig" /><region><point type="t" v="01-Jun-2010 00:00:00" /><point type="z" v="-0.0167" /><range type="y" low="17.018433151273" high="23.982388980093" /><range type="x" low="-163.83069727891" high="-152.5193027211" /></region></args></lasRequest>
2010-07-29 14:03:17,918 DEBUG product.server.ProductServerAction - Logging set to DEBUG for gov.noaa.pmel.tmap.las.product.server.ProductServerAction
2010-07-29 14:03:17,918 DEBUG product.server.ProductServerAction - Creating ProductRequest object.
2010-07-29 14:03:17,922 DEBUG product.server.ProductServerAction - Starting ProductServerRunner thread.
2010-07-29 14:03:17,922 DEBUG product.server.ProductServerAction - Starting request by creating the ProductServerRunner.
2010-07-29 14:03:17,922 DEBUG product.server.ProductServerAction - Starting ProductServerRunner thread with timeout=20000
2010-07-29 14:03:17,922 DEBUG product.server.ProductServerRunner - ProductServerRunner started.
2010-07-29 14:03:17,923 DEBUG product.server.ProductServerRunner - Use cache for all requests in this product:false
2010-07-29 14:03:17,923 DEBUG product.server.ProductServerRunner - Cache hit for all requests in this product:false
2010-07-29 14:03:17,923 DEBUG product.server.ProductServerRunner - Previous batch error for this request is:false
2010-07-29 14:03:17,923 DEBUG product.server.ProductServerRunner - Processing request 1 of 1
2010-07-29 14:03:17,924 DEBUG product.server.ProductServerRunner - Cache use is "off" for this request.
2010-07-29 14:03:17,924 DEBUG product.server.ProductServerRunner - Cache hit check returned: false for request: 1
2010-07-29 14:03:17,924 DEBUG product.server.ProductServerRunner - Running backend service at http://lawelawe.soest.hawaii.edu:8080/las/services/LASFerretBackend.
2010-07-29 14:03:17,924 INFO  las.service.ProductService - Setting template path to default: /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/local/templates/
2010-07-29 14:03:17,924 INFO  las.service.ProductService - Setting loader path to: /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/local/templates/
addTool(org.apache.velocity.tools.view.ViewToolInfo@3ed4b480
addTool(org.apache.velocity.tools.view.ViewToolInfo@7e965fb9
addTool(org.apache.velocity.tools.view.ViewToolInfo@4266ab9c
addTool(org.apache.velocity.tools.view.ViewToolInfo@628cb0d2
addTool(org.apache.velocity.tools.view.ViewToolInfo@2acdd8a
addTool(org.apache.velocity.tools.view.ViewToolInfo@23049065
addTool(org.apache.velocity.tools.view.ViewToolInfo@a3e8d9
addTool(org.apache.velocity.tools.view.ViewToolInfo@90bfee3
addTool(org.apache.velocity.tools.view.ViewToolInfo@728aedb8
addTool(org.apache.velocity.tools.view.ViewToolInfo@7efd05c7
2010-07-29 14:03:17,949 DEBUG service.ferret.FerretBackendService - Logging set to DEBUG for gov.noaa.pmel.tmap.las.service.ferret.FerretBackendService
2010-07-29 14:03:17,950 INFO  las.service.TemplateTool - Setting template path to default: /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/ferret/templates/
2010-07-29 14:03:17,950 INFO  las.service.TemplateTool - Setting loader path to: /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/ferret/templates/
addTool(org.apache.velocity.tools.view.ViewToolInfo@3f77f4ea
addTool(org.apache.velocity.tools.view.ViewToolInfo@5c704f33
addTool(org.apache.velocity.tools.view.ViewToolInfo@515fccae
addTool(org.apache.velocity.tools.view.ViewToolInfo@6876dd3e
addTool(org.apache.velocity.tools.view.ViewToolInfo@53b74706
addTool(org.apache.velocity.tools.view.ViewToolInfo@259805da
addTool(org.apache.velocity.tools.view.ViewToolInfo@1fa83e7e
addTool(org.apache.velocity.tools.view.ViewToolInfo@5e9ed26e
addTool(org.apache.velocity.tools.view.ViewToolInfo@d09644a
addTool(org.apache.velocity.tools.view.ViewToolInfo@63973cf5
2010-07-29 14:03:17,960 DEBUG service.ferret.FerretTool - Running the FerretTool.
2010-07-29 14:03:17,961 DEBUG service.ferret.FerretTool - Setting up the Ferret journal file.
2010-07-29 14:03:17,961 DEBUG service.ferret.FerretTool - Creating Ferret journal file.
2010-07-29 14:03:17,961 INFO  las.service.TemplateTool - Velocity resource path: /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/ferret/templates/
2010-07-29 14:03:17,965 DEBUG service.ferret.FerretTool - Finished creating Ferret journal file.
2010-07-29 14:03:17,965 DEBUG service.ferret.FerretTool - Creating Ferret task.
command line for task is:
/usr/local/ferret/bin/ferret -memsize 16 -gif -server -script FBS.jnl /usr/local/apache-tomcat-6.0.18/webapps/las/WEB-INF/classes/resources/ferret/temp/ferret_operation_1280448197961.jnl
2010-07-29 14:03:17,966 DEBUG service.ferret.FerretTool - Ferret task created.
2010-07-29 14:03:17,966 DEBUG service.ferret.FerretTool - Running Ferret task.
2010-07-29 14:03:18,289 DEBUG service.ferret.FerretTool - Ferret Task finished.
2010-07-29 14:03:18,289 DEBUG service.ferret.FerretTool - Checking for errors.
2010-07-29 14:03:18,290 DEBUG service.ferret.FerretTool - Creating map scale file.
2010-07-29 14:03:18,290 DEBUG service.ferret.FerretTool - Creating the index file.
2010-07-29 14:03:18,290 DEBUG service.ferret.FerretTool - Finished running the FerretTool.
2010-07-29 14:03:18,290 INFO  service.ferret.FerretBackendService - Ferret backend request failed: The region index file was not found.
2010-07-29 14:03:18,294 DEBUG product.server.ProductServerRunner - Found error response.  Breaking out.
2010-07-29 14:03:18,294 DEBUG product.server.ProductServerRunner - ProductServerRunner finished.


I then tried running ferret_operation_1280448197961.jnl inside of Ferret myself as a test and got the following message:


yes? go ferret_operation_1280448197961.jnl
! Symbols from the server
                        DEFINE SYMBOL data_0_ID = temp-hiroms_hiig
                                 DEFINE SYMBOL data_0_dataset_ID = hiroms_hiig
                                 DEFINE SYMBOL data_0_dataset_name = HI-ROMS Hawaii Regional Ocean Model (4km)
                                 DEFINE SYMBOL data_0_dataset_url = http://lawelawe.soest.hawaii.edu:8080/thredds/dodsC/hioos/roms_forec/hiig/HI-ROMS_Forecast_Model_Run_Collection_best.ncd
                                 DEFINE SYMBOL data_0_ftds_url = http://lawelawe.soest.hawaii.edu:8080/thredds/dodsC/las/hiroms_hiig/data_lawelawe.soest.hawaii.edu_8080_thredds_dodsC_hioos_roms_forec_hiig_HI-ROMS_Forecast_Model_Run_Collection_best.ncd.jnl
                                 DEFINE SYMBOL data_0_grid_type = regular
                                 DEFINE SYMBOL data_0_intervals = xyzt
                                 DEFINE SYMBOL data_0_name = potential temperature
                                 DEFINE SYMBOL data_0_points = xyzt
                                 DEFINE SYMBOL data_0_region = region_0
                                 DEFINE SYMBOL data_0_title = potential temperature
                                 DEFINE SYMBOL data_0_units = Celsius
                                 DEFINE SYMBOL data_0_url = http://lawelawe.soest.hawaii.edu:8080/thredds/dodsC/hioos/roms_forec/hiig/HI-ROMS_Forecast_Model_Run_Collection_best.ncd
                                 DEFINE SYMBOL data_0_var = temp
                                 DEFINE SYMBOL data_0_xpath = /lasdata/datasets/hiroms_hiig/variables/temp-hiroms_hiig
                                 DEFINE SYMBOL data_count = 1
                                 DEFINE SYMBOL ferret_curv_lat_max = 23.982388980053
                                 DEFINE SYMBOL ferret_curv_lat_min = 17.018433151273
                                 DEFINE SYMBOL ferret_curv_lon_max = -152.519302721088
                                 DEFINE SYMBOL ferret_curv_lon_min = -163.830697278911
                                 DEFINE SYMBOL ferret_curvi_coord_lat = lat_rho
                                 DEFINE SYMBOL ferret_curvi_coord_lon = lon_rho
                                 DEFINE SYMBOL ferret_curvi_coord_mapfile = /usr/local/las/conf/server/mapfile_hiroms_hiig_rho.nc
                                 DEFINE SYMBOL ferret_curvi_coord_mapvar = map
                                 DEFINE SYMBOL ferret_fill_type = fill
                                 DEFINE SYMBOL ferret_gen_script_option = opendap
                                 DEFINE SYMBOL ferret_land_type = contour
                                 DEFINE SYMBOL ferret_service_action = Convert_to_Index
                                 DEFINE SYMBOL ferret_view = xy
                                 DEFINE SYMBOL las_debug = true
                                 DEFINE SYMBOL operation_ID = Gen_Scripts
                                 DEFINE SYMBOL operation_key = 450977F93258F3DEEBB1BA8C0D6AED12
                                 DEFINE SYMBOL operation_name = Desktop application data access scripts
                                 DEFINE SYMBOL operation_service = ferret
                                 DEFINE SYMBOL operation_service_action = Convert_to_Index
                                 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 = 01-Jun-2010 00:00:00
                                 DEFINE SYMBOL region_0_t_lo = 01-Jun-2010 00:00:00
                                 DEFINE SYMBOL region_0_x_hi = -152.5193027211
                                 DEFINE SYMBOL region_0_x_lo = -163.83069727891
                                 DEFINE SYMBOL region_0_y_hi = 23.982388980093
                                 DEFINE SYMBOL region_0_y_lo = 17.018433151273
                                 DEFINE SYMBOL region_0_z_hi = -0.0167
                                 DEFINE SYMBOL region_0_z_lo = -0.0167
                                 DEFINE SYMBOL result_count = 2
                                 DEFINE SYMBOL result_index_ID = index
                                 DEFINE SYMBOL result_index_filename = /usr/local/tomcat/webapps/las/output/450977F93258F3DEEBB1BA8C0D6AED12_index.xml
                                 DEFINE SYMBOL result_index_type = index
                                 DEFINE SYMBOL result_rss_ID = rss
                                 DEFINE SYMBOL result_rss_filename = /usr/local/tomcat/webapps/las/output/9CA38E35273C13A21303BE0DD1198666_rss.rss
                                 DEFINE SYMBOL result_rss_type = rss
         GO ($operation_service_action)
 !-> GO Convert_to_Index
 **TMAP ERR: non-existent or not on line
             Convert_to_Index (.jnl)
GO Convert_to_Index

Thanks for your help!,
John Maurer
Hawaii Ocean Observing System (HiOOS)

[Thread Prev][Thread Next][Index]


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

Privacy Policy | Disclaimer | Accessibility Statement