Dear Rob,
This is probably far too late, but the problem here is that the Godiva2 client
uses the bounding box of the map to generate the links to the test image and to
the Google Earth kmz file. GIS systems like OpenLayers usually constrain the
bounding box to be in the range [-180:180] longitude, although the underlying
WMS is less strict. Therefore if you manually edit the URL you can get the
result you want, at least for the test image. (I'm not sure if that works or
not for Google Earth, since GE might also place the same restriction on
longitude values. It may be that we would have to generate two images, one
either side of the anti-meridian, to make it work in GE.)
This is a known issue in GIS-like systems but could be worked around in
THREDDS/ncWMS/Godiva2 with a bit of thought. I don't think there's anything
you can add to the metadata to help. I'll put this on my list, but I'm afraid
I can't guarantee a fix in the short term!
Best wishes,
Jon
----------------------------------------------------------------------
Message: 1
Date: Wed, 7 Nov 2012 10:11:50 -0900
From: Rob Cermak <jrcermakiii@xxxxxxxxxx>
To: thredds@xxxxxxxxxxxxxxxx
Subject: [thredds] Godiva2 & cropped images (4.3.14-SNAPSHOT)
Message-ID:
<CADDCsDLFZpSKqP-hu8QSjBwb0vTS7WmfKSCq0+EyX0hM-XrX3g@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"
Hi! I was testing out the latest TDS snapshot. I've run across some problems
that I'd like to report.
- Server: [image: THREDDS Data Server] THREDDS Data Server
- Webapp Name: THREDDS Data Server
- Webapp Version: 4.3.14-SNAPSHOT
- Webapp Version Build Date: 20121020.1514
- Abstract: Scientific Data
Dataset: grab one of WRF (wrfout) from here:
http://weather.arsc.edu/Operational/HRRR-AK/Products/wrfout/2012110512/wrfout_d01_2012-11-05_12:00:00
Summary: Godiva2 shows the fields just fine, but clicking on "test image"
or "Open in Google Earth" produces a cropped image. Adjusting the long
variable I can obtain the full field. "Fit layer to window" does not center
over the dataset. Moving the view does show the entire layer properly.
It looks like the server is open to the Internet so the links should work.
I will attach some snapshots just in case.
Images/URLs:
http://shib.arsc.edu:8080/thredds/godiva2/godiva2.html?server=http://shib.arsc.edu:8080/thredds/wms/akhrrr/wrfout_d01_2012-11-05_12:00:00#
Clicking on test image gives:
http://shib.arsc.edu:8080/thredds/wms/akhrrr/wrfout_d01_2012-11-05_12:00:00?LAYERS=V10&ELEVATION=0&TIME=2012-11-05T12%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&COLORSCALERANGE=-8.69%2C5.97&NUMCOLORBANDS=20&LOGSCALE=false&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-149.47059022349,39.821965700053,-114.54157269436,76.714340992019&WIDTH=256&HEIGHT=256
If I adjust the BBOX to say -190.0, I can get the full field.
http://shib.arsc.edu:8080/thredds/wms/akhrrr/wrfout_d01_2012-11-05_12:00:00?LAYERS=V10&ELEVATION=0&TIME=2012-11-05T12%3A00%3A00.000Z&TRANSPARENT=true&STYLES=boxfill%2Frainbow&CRS=EPSG%3A4326&COLORSCALERANGE=-8.69%2C5.97&NUMCOLORBANDS=20&LOGSCALE=false&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A4326&BBOX=-190,39.821965700053,-114.54157269436,76.714340992019&WIDTH=256&HEIGHT=256
I believe this seems like a computational error for datasets that drape over
180 degree line. The image for google earth is also cropped (attached).
Is there metadata info we can add to the NetCDF file to the catalog make it
better behaved?
Thanks!
Rob
--
Rob Cermak (cermak@xxxxxxxxxx)
Arctic Region Supercomputing Center(UAF)
consult@xxxxxxxx
Life Sciences Informatics(IAB/UAF) Support
biotech@xxxxxxxxxx
907-450-8638 (WRRB 105/Cube 109;WRRB 222)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20121107/1b2e7f44/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: akhrrr_wrfout_d01_2012-11-05_12-00-00_V10.kmz
Type: application/vnd.google-earth.kmz
Size: 21220 bytes
Desc: not available
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20121107/1b2e7f44/attachment.kmz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrfout_d01_2012-11-05_12-00-00_cropped_image.png
Type: image/png
Size: 9614 bytes
Desc: not available
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20121107/1b2e7f44/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrfout_d01_2012-11-05_12-00-00_full_image.png
Type: image/png
Size: 11794 bytes
Desc: not available
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20121107/1b2e7f44/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: godiva2_full_layer.png
Type: image/png
Size: 291843 bytes
Desc: not available
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20121107/1b2e7f44/attachment-0002.png>
End of thredds Digest, Vol 46, Issue 3
**************************************