[Thread Prev][Thread Next][Index]

Re: [las_users] LAS V8.2 installation and TMAP error.



Hello Ansley.
Thank you for the information.   I updated FerretBackendConfig.xml  and that worked!

In our current operational server running LAS v7.3 I was able to create categories to organize our pull down menu by Parameters


I took the same configuration and applied it to our newly deployed Las v8.2 in our UAT server

Please see attached categories.xml, las.xml  and sample <dataset>.xml files.

Thanks,
Rosanna


Rosanna Sumagaysay-Aouda
work: 818.393.5887  |  cell: 818.497.5508
rosanna.m.sumagaysay@xxxxxxxxxxxx



From: Ansley Manke <ansley.b.manke@xxxxxxxx>
Date: Monday, March 16, 2015 at 9:54 AM
To: "las_users@xxxxxxxx" <las_users@xxxxxxxx>
Subject: Re: [las_users] LAS V8.2 installation and TMAP error.

Hi Rosanna,
It looks as if the environment variables are set correctly in the Ferret installation, but that somehow this didn't get into the LAS configuration in the LAS installation. Look in the file

 $TOMCAT_HOME/webapps/las/WEB-INF/classes/resources/ferret/FerretBackendConfig.xml

There's an <environment> section, where the Ferret environment variables are listed.  These should contain the contents of FER_DATA, etc.  There's an example here,

http://ferret.pmel.noaa.gov/LAS/documentation/installer-documentation/example-configuration-files-and-templates/ferretbackendconfig.xml/view

You could re-run the configure script for LAS, and answer "no" to this question:
You already have a config file for your Ferret backend environment.
Do you want to use this file? [yes]
This will replace FerretBackendConfig.xml with a new file that contains the current settings for the Ferret environment variables.  (Also answer "no" to the next question, Do you want to install the example data set configuration? , and the configure process will keep the dataset configuration that you already have.)

Ansley

On 3/13/2015 6:57 PM, Sumagaysay, Rosanna M (394E) wrote:
Hello Roland,

So we’ve re-followed instructions to re-install FERRET and LAS.
Continues to return for example:

**TMAP ERR: non-existent or not on line
             Searched $FER_DESCR and $FER_DATA for ocean_atlas_subset(.nc ,.cdf,.des)
SET DATA "ocean_atlas_subset"
Please see our installation notes below.. Are we missing something during the install?  It looks like the Environment variables were set accordingly.. But the Server is not seeing it.
My command line check:

[root@opendap-uat ferret]# ferret

  NOAA/PMEL TMAP

  FERRET v6.93  

  Linux 2.6.32-504.el6.x86_64 64-bit - 11/13/14

13-Mar-15 18:55     

yes? SET DATA "ocean_atlas_subset"

yes? show data/all

     currently SET data sets:

    1> /usr/local/ferret/fer_dsets/data/ocean_atlas_subset.nc  (default)

 name     title                             I         J         K         L         M         N

 TEMP     Temperature                      1:180     1:90      1:19      1:12      ...       ...

yes?

—————————————————————————
Our FERRET and LAS installation notes:
FERRET installation from
(http://ferret.pmel.noaa.gov/Ferret/downloads/ferret-installation-and-update-guide#Installing_Support)
cd /usr/local/ferret/
/bin/Finstall

source  ferret_paths_template.sh

Here are the environments:

[root@opendap-uat data]# printenv | grep FER

FER_GO=. /usr/local/ferret/go /usr/local/ferret/examples /usr/local/ferret/contrib

FER_GRIDS=. /usr/local/ferret/fer_dsets/grids

FER_EXTERNAL_FUNCTIONS=/usr/local/ferret/ext_func/libs

FER_DATA_THREDDS= http://ferret.pmel.noaa.gov/geoide/geoIDECleanCatalog.xml /usr/local/ferret/fer_dsets

FER_PALETTE=. /usr/local/ferret/ppl

FER_DSETS=/usr/local/ferret/fer_dsets

FER_DAT=/usr/local/ferret

FER_DATA=. /usr/local/ferret/fer_dsets/data /usr/local/ferret/go /usr/local/ferret/examples

FER_FONTS=/usr/local/ferret/ppl/fonts

FER_DESCR=. /usr/local/ferret/fer_dsets/descr

FER_LIBS=/usr/local/ferret/lib

FER_WEB_BROWSER=firefox

FER_DIR=/usr/local/ferret

ALSO:

[root@opendap-uat ferret]# Fenv

FER_DATA_THREDDS= http://ferret.pmel.noaa.gov/geoide/geoIDECleanCatalog.xml /usr/local/ferret/fer_dsets

FER_DATA=. /usr/local/ferret/fer_dsets/data /usr/local/ferret/go /usr/local/ferret/examples

FER_DAT=/usr/local/ferret

FER_DESCR=. /usr/local/ferret/fer_dsets/descr

FER_DIR=/usr/local/ferret

FER_DSETS=/usr/local/ferret/fer_dsets

FER_EXTERNAL_FUNCTIONS=/usr/local/ferret/ext_func/libs

FER_FONTS=/usr/local/ferret/ppl/fonts

FER_GO=. /usr/local/ferret/go /usr/local/ferret/examples /usr/local/ferret/contrib

FER_GRIDS=. /usr/local/ferret/fer_dsets/grids

FER_LIBS=/usr/local/ferret/lib

FER_PALETTE=. /usr/local/ferret/ppl

FER_WEB_BROWSER=firefox

LAS installation:
When running ./configure,

cd /export/00/src/las.v8.2/

./configure



[root@opendap-uat las.v8.2]# ./configure

Searching for perl...


Location of perl executable [/usr/bin/perl] 

Starting Perl configuration script with /usr/bin/perl...



Configuring V8.x User Interface...

If you want to install the in-situ examples make sure you've loaded the sample data.

See the installation instructions at: http://ferret.pmel.noaa.gov/LAS/documentation/installer-documentation/installation/ for details.


Location of java executable: [/usr/bin/java] 

Verifying Java version...

You have a valid version of Java.



Location of ferret executable: [/usr/local/ferret/bin//ferret] 

Verifying Ferret version. This might take a few minutes...



You have a valid version of Ferret at /usr/local/ferret/bin//ferret


Do you have a copy of TDS 4 installed?: [yes] yes




You must now specify the path name the Web client will use

when accessing LAS. Unless you have more than one version of LAS

installed, the default of /las should be fine

Enter path name for LAS: [/las] 



Full path of Tomcat JAKARTA_HOME directory where you would like to deploy the servlet: [/usr/local/tomcat] 



Which HTTP port does the Tomcat server use: [8080] 



Enter the full domain name of the Tomcat Server (do not include the port number): [opendap-uat.jpl.nasa.gov] 




Please provide a title for your LAS.

This title will appear in the upper left hand corner of the LAS interface.

Enter a title for the LAS server: [PO.DAAC LAS V8.2] 




Provide email address(es) for the administrator(s).

Enter a blank separated list email address(es): [sas@xxxxxxxxxxxxxxxxxxxx] rosanna.m.sumagaysay@xxxxxxxxxxxx sas@xxxxxxxxxxxxxxxxxxxx



Do you plan to use a proxy pass or connector from the HTTP server to the tomcat server (recommended; instructions below): [yes] 



Enter the full domain name of the HTTP server that will be used as the proxy: [opendap-uat.jpl.nasa.gov] 

Creating the /usr/local/tomcat/content/las/logs directory.

Creating the /usr/local/tomcat/content/las/conf/server directory.

Creating the /usr/local/tomcat/content/las/conf/server/temp directory.



Creating the /usr/local/tomcat/content/las/conf/server/data directory.

Creating the /usr/local/tomcat/content/las/conf/server/data/dynamic directory for the dynamic data for user defined variables and comparison regridding.



Now setting up the Ferret environment variables for the server...

If you want to change them, edit 'JavaSource/resources/ferret/FerretBackendConfig.xml'



You already have a config file for your Ferret backend environment.

Do you want to use this file? [yes] 

Using current file.

Do you want to install the example data set configuration? [yes] 

Building addXML and the servlet war file.

Buildfile: /export/00/src/las.v8.2/build.xml


addxml-init:


addxml-compile:

    [javac] /export/00/src/las.v8.2/build.xml:258: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

    [javac] Compiling 64 source files to /export/00/src/las.v8.2/build

    [javac] Note: Some input files use or override a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] Note: Some input files use unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.


addxml-build:

      [jar] Building jar: /export/00/src/las.v8.2/dist/lib/addXML.jar


BUILD SUCCESSFUL

Total time: 5 seconds

Buildfile: /export/00/src/las.v8.2/build.xml


revision:


prepare:

     [copy] Copying 5 files to /export/00/src/las.v8.2/WebContent/WEB-INF/classes


compile:


dist:

      [war] Building war: /export/00/src/las.v8.2/las.war


deploy:

     [copy] Copying 21 files to /usr/local/tomcat/webapps/thredds/WEB-INF/classes

     [copy] Copying 1 file to /usr/local/tomcat/webapps/thredds/WEB-INF/classes/resources/iosp

   [delete] Deleting directory /usr/local/tomcat/webapps/las

     [copy] Copying 1 file to /usr/local/tomcat/webapps


BUILD SUCCESSFUL

Total time: 19 seconds



You can test your F-TDS setup by running the LASTest suite.

To run the tests run these commands.

cd test/LASTest

ant lastest -Df=1



You must restart your Tomcat server.

We've created some scripts to help you do that.  See: stopserver.sh, startserver.sh and rebootserver.sh



Your user interface to LAS is at: http://opendap-uat.jpl.nasa.gov/las/

————
Data directory:

[root@opendap-uat data]# ls /usr/local/ferret/fer_dsets

data  descr  grids

[root@opendap-uat data]# ls -l /usr/local/ferret/fer_dsets

total 12

drwxr-xr-x. 2 330 users 4096 Mar 13 16:15 data

drwxr-xr-x. 2 330 users 4096 Jun 27  2001 descr

drwxr-xr-x. 2 330 users 4096 Jun 27  2001 grids

[root@opendap-uat data]# ls -l /usr/local/ferret/fer_dsets/data

total 92472

-rw-r--r--. 1  330 users  5447472 May 22  1997 coads_climatology.cdf

-rw-r--r--. 1  330 users  3982192 May 22  1997 esku_heat_budget.cdf

lrwxrwxrwx. 1  330 users       10 Feb 27 13:51 etopo05.cdf -> etopo5.cdf

-rw-r--r--. 1  330 users    67548 May 22  1997 etopo120.cdf

-rw-r--r--. 1  330 users  2348512 May 22  1997 etopo20.cdf

-rw-r--r--. 1  330 users   590248 Jun 12  1998 etopo40.cdf

-rw-r--r--. 1  330 users 37394632 Apr 27  2001 etopo5.cdf

-rw-r--r--. 1  330 users   264088 May 22  1997 etopo60.cdf

-rw-r--r--. 1 root root       110 Mar 13 16:15 ferret.jnl

-rw-r--r--. 1  330 users  2461856 Jan 17  2013 geo_borders.cdf

-rw-r--r--. 1  330 users  5845744 Dec  7  2012 geo_borders_intermed.nc

-rw-r--r--. 1  330 users 10373712 May 22  1997 levitus_climatology.cdf

-rw-r--r--. 1  330 users 11104376 May 22  1997 monthly_navy_winds.cdf

-rw-r--r--. 1  330 users 14777792 Nov 28  2007 ocean_atlas_subset.nc

[root@opendap-uat data]# ls -l /usr/local/ferret/fer_dsets/descr

total 12

-rw-r--r--. 1 330 users 2637 Jun 19  1992 examp_irreg_mod_t_ax.des

-rw-r--r--. 1 330 users 2369 Jun 19  1992 examp_irreg_t_ax.des

-rw-r--r--. 1 330 users 2331 Jun 19  1992 examp_t_independent.des

—————————————————————————

Thanks,
Rosanna


Rosanna Sumagaysay-Aouda
work: 818.393.5887  |  cell: 818.497.5508




Attachment: categories.xml
Description: categories.xml

Attachment: las.xml
Description: las.xml

Attachment: AQUARIUS_L3_SSS_BIAS_ADJ_SMI_MONTHLY_V3.las.xml
Description: AQUARIUS_L3_SSS_BIAS_ADJ_SMI_MONTHLY_V3.las.xml

Attachment: MODIS_TERRA_L3_SST_THERMAL_DAILY_9KM_NIGHTTIME.las.xml
Description: MODIS_TERRA_L3_SST_THERMAL_DAILY_9KM_NIGHTTIME.las.xml


[Thread Prev][Thread Next][Index]


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

Privacy Policy | Disclaimer | Accessibility Statement