This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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 hereyou 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.htmlWe 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: address@hidden (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"