Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More on WCS and THREDDS 3.16.36



Hi John:

That fixed the problem of generating the GeoTIFF. If you remember the genesis of this, Yuan Ho made changes to GeotiffWrite that seemed to give improved GeoTIFF's, and this was incorporated into THREDDS 3.16.36. Try these two URL's:

http://las.pfeg.noaa.gov:8082/thredds/wcs/satellite/BA/ssta/8day? request=GetCoverage&version=1.0.0&service=WCS&format=GeoTIFF&coverage=BA ssta&Vertical=.0&time=2008-06-13T00:00:00Z&bbox=220,20,250,50

http://las.pfeg.noaa.gov:8082/thredds/wcs/satellite/BA/ssta/8day? request=GetCoverage&version=1.0.0&service=WCS&format=GeoTIFFfloat
&coverage=BAssta&Vertical=. 0&time=2008-06-13T00:00:00Z&bbox=220,20,250,50


Attached also is an image generated from Ferret from the same server from the same file(s) using OPeNDAP. So the problem we are still facing is the GeoTIFF sampling/generation still seems off - we ultimately may need to ship 32 bit GeoTIIFS to the HAB program to be used in HAB forecasting.

Thanks.

-Roy


On Jun 18, 2008, at 12:06 PM, John Caron wrote:

aha!

I think the problem is that the tomcat user (however tomcat is started) doesnt have write permission in the WCS cache directory:

File dir = new File( getDiskCache().getRootDirectory());
File tifFile = File.createTempFile("WCS", ".tif", dir); <<< fails here


you may be using the default; to set it explicitly, use the "dir" element in WCS section of content/thredds/ThreddsConfig.xml, eg:

  <WCS>
    <allow>false</allow>
    <dir>/data/tmp/thredds/wcsCache/</dir>
    <scour>15 min</scour>
    <maxAge>30 min</maxAge>
  </WCS>

see:

http://www.unidata.ucar.edu/projects/THREDDS/tech/reference/ ThreddsConfigXMLFile.html

We changed it in latest version because old way was not thread- safe, if 2 requests for the same dataset came in at the same time.

let me know if that works...


**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097


e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"

PNG image


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690