I have rechecked the TDS set up that we are using and it all seems to be set up properly according to the page you referenced. I can generate a plot for a LAS dataset but cannot view the dataset using the Thredds catalog. Here is the full error I see in the threddsServlet.log:We are using netcdf-4.2.1.1. Would updating this be of any benefit?Penny
2016-10-05T15:31:19.790 -0400 [ 3638994][ 85] ERROR - thredds.server.opendap.OpendapServlet - path= /las/OMI_NO2_daily/data_ mynasadata-dev.larc.nasa.gov_ thredds_dodsC_OMI_NO2_daily_ agg_OMI_NO2_init_Tropospheric_ Nitrogen_Dioxide.jnl.html java.io.IOException: java.io.IOException: Cant read /usr/local/tomcat/content/las/conf/server/data/OMI_NO2_ daily/data_mynasadata-dev. larc.nasa.gov_thredds_dodsC_ OMI_NO2_daily_agg_OMI_NO2_ init_Tropospheric_Nitrogen_ Dioxide.jnl: not a valid CDM file. at ucar.nc2.NetcdfFile.open(NetcdfFile.java:425) at ucar.nc2.dataset.NetcdfDataset. openOrAcquireFile( NetcdfDataset.java:699) at ucar.nc2.dataset.NetcdfDataset.openFile( NetcdfDataset.java:586) at ucar.nc2.dataset.NetcdfDataset$ MyNetcdfFileFactory.open( NetcdfDataset.java:325) at ucar.nc2.dataset.NetcdfDataset$ MyNetcdfFileFactory.open( NetcdfDataset.java:323) at ucar.nc2.util.cache.FileCache.acquire(FileCache.java:224) at ucar.nc2.dataset.NetcdfDataset. openOrAcquireFile( NetcdfDataset.java:695) at ucar.nc2.dataset.NetcdfDataset.acquireFile( NetcdfDataset.java:625) at ucar.nc2.dataset.NetcdfDataset.acquireFile( NetcdfDataset.java:600) at thredds.servlet.DatasetHandler.getNetcdfFile( DatasetHandler.java:210) at thredds.server.opendap.OpendapServlet.getDataset( OpendapServlet.java:909) at thredds.server.opendap.OpendapServlet.doGetHTML( OpendapServlet.java:609) at thredds.server.opendap.OpendapServlet.doGet( OpendapServlet.java:226) at javax.servlet.http.HttpServlet.service( HttpServlet.java:638) at javax.servlet.http.HttpServlet.service( HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 303) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at thredds.servlet.filter.CookieFilter.doFilter( CookieFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 241) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at thredds.servlet.filter.RequestQueryFilter.doFilter( RequestQueryFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 241) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at org.apache.tomcat.websocket.server.WsFilter.doFilter( WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 241) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at thredds.servlet.filter.RequestPathFilter.doFilter( RequestPathFilter.java:102) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 241) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at thredds.server.RequestBracketingLogMessageFil ter.doFilter( RequestBracketingLogMessageFil ter.java:48) at org.apache.catalina.core.ApplicationFilterChain. internalDoFilter( ApplicationFilterChain.java: 241) at org.apache.catalina.core.ApplicationFilterChain. doFilter( ApplicationFilterChain.java: 208) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:122) at org.apache.catalina.authenticator. AuthenticatorBase.invoke( AuthenticatorBase.java:505) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke( AccessLogValve.java:956) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:423) at org.apache.coyote.ajp.AjpProcessor.process( AjpProcessor.java:190) at org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler. process(AbstractProtocol.java: 625) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor. run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:603) at org.apache.tomcat.util.threads.TaskThread$ WrappingRunnable.run( TaskThread.java:61) at java.lang.Thread.run(Thread.java:722) Caused by: java.io.IOException: Cant read /usr/local/tomcat/content/las/conf/server/data/OMI_NO2_ daily/data_mynasadata-dev. larc.nasa.gov_thredds_dodsC_ OMI_NO2_daily_agg_OMI_NO2_ init_Tropospheric_Nitrogen_ Dioxide.jnl: not a valid CDM file. at ucar.nc2.NetcdfFile.open(NetcdfFile.java:803) at ucar.nc2.NetcdfFile.open(NetcdfFile.java:422) ... 46 more2016-10-05T15:31:19.791 -0400 [ 3638995][ 85] INFO - threddsServlet - Request Completed - 500 - -1 - 8
From: Roland Schweitzer - NOAA Affiliate <roland.schweitzer@xxxxxxxx>
Date: Wednesday, September 21, 2016 2:55 PM
To: "Oots, Penny C. (LARC-E301)[SCIENCE SYSTEMS AND APPLICATIONS, INC]" <penny.c.oots@xxxxxxxx>
Cc: "las_users@xxxxxxxx" <las_users@xxxxxxxx>, "Oostra, Daniel H. (LARC-E3)[SCIENCE SYSTEMS AND APPLICATIONS, INC]" <daniel.h.oostra@xxxxxxxx>
Subject: Re: [las_users] Error when requesting Difference Mode plots with LAS v8.4
This is just a problem of configuration with the THREDDS server associated with the LAS. If you recently upgraded your TDS then there are certain configuration steps that must be re-done for the TDS to work with LAS. The details are here: http://ferret.pmel.noaa.gov/LAS/documentation/ .installer-documentation/ installation/installing-and- integrating-tds-with-las/
In particular, the section about adding the dataSource and nj22Config XML tags to threddsConfig.xml are likely relevant since these must be added for THREDDS to understand that a .jnl file created by LAS can be interpreted as CDM file.
Roland
On Wed, Sep 21, 2016 at 11:07 AM, Oots, Penny C. (LARC-E3)[SCIENCE SYSTEMS AND APPLICATIONS, INC] <penny.c.oots@xxxxxxxx> wrote:
After displaying two plots from the same dataset, clicking the Difference Mode button generates the following error:
syntax error, unexpected WORD_STRING, expecting WORD_WORD context: Error { code = 500; message = "java.io.IOException: Cant read /usr/local/tomcat/content/las/conf/server/data/atmos_temp/da ta_usr_local_fer_data_data_ISC CPMonthly_avg.nc_near_surf_air _temp_init_tsa_tovs.jnl: not a valid CDM file."^;}; **Internet Data error NetCDF: DAP server error (OPeNDAP/netCDF Error code -70) Data set: http://mynasadata.larc.nasa.go v/thredds/dodsC/las/atmos_temp /data_usr_local_fer_data_data_ ISCCPMonthly_avg.nc_near_surf_ air_temp_init_tsa_tovs.jnl If the dataset is accessible to create the compare 2 plots, any ideas why creating the difference plot fails?
To recreate this error, go to mynasadata.larc.nasa.gov, click 'Explore NASA Data", "Advanced LAS", Dataset, Atmosphere, Atmospheric Temperature, Monthly Near-Surface Temperature(ISCCP), Compare 2, select two different dates, and click Difference Mode. (Thredds version is 4.3.23 –20140826.1617).
Any ideas how to work around this?Penny Oots
--
The policy of the DOC and NOAA requires me to inform you that the opinions in this email are mine and do not necessarily represent the opinion or policy of the Department of Commerce, the National Oceanic and Atmospheric Administration or any other entity except lil' ol' me.