NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] Remote OPENDAP dataset through WMS

Hi John, all,

Actually, the <allowRemote> only controls whether your server will
accept requests to provide a service on a remote dataset. The remote
site does not need to <allowRemote>; they are already making their
dataset available through (in this case) OPeNDAP. The remote server just
sees a client requesting access to their OPeNDAP dataset; they can't
tell if the request is from your server or from some end-user application.

Cheers,

Ethan

On 8/24/2011 1:11 PM, John Maurer wrote:
> Hi Harbil,
> In addition to what Jon has stated, if you want to serve a remote
> dataset via WMS through your TDS, the owner of the remote dataset must
> enable allowRemote on their TDS WMS. Although you have made that setting
> to your own TDS, this only controls the remote access of your own
> datasets not of those external to your TDS. I know this is possible,
> because I do a similar thing serving out satellite data via WMS from an
> external source (NOAA PIFSC). Hope that helps.
> Cheers,
> John
> 
> On Wed, Aug 24, 2011 at 6:33 AM, Jon Blower <j.d.blower@xxxxxxxxxxxxx
> <mailto:j.d.blower@xxxxxxxxxxxxx>> wrote:
> 
>     Hi Harbil,
> 
>     When you serve remote datasets, you don't need to add them to the
>     catalog (at least, I think that's true).  The URL is itself a WMS
>     endpoint.  So if you have remote datasets enabled, you can point
>     your WMS client to the URL:
> 
>     
> http://localhost:8080/thredds/wms?dataset=http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/godas/dbss_obil.1984.nc
> 
>     and it should work.
> 
>     If you want to add a remote dataset to the catalog you probably have
>     to do something different.
> 
>     (Someone who knows more about THREDDS than I do will hopefully
>     correct me if I'm wrong!)
> 
>     HTH,
>     Jon
> 
>     ----------------------------------------------------------------------
> 
>     Message: 1
>     Date: Tue, 23 Aug 2011 12:56:18 +0200
>     From: Harbil Arregui <harbil.arregui@xxxxxxxxx
>     <mailto:harbil.arregui@xxxxxxxxx>>
>     To: thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
>     Subject: [thredds] Remote OPENDAP dataset through WMS
>     Message-ID:
>          
>      <CAMQ488GRvYVEjWbPeRBmff851_CmdtSv-hWMmjo4FZcwOWb-4A@xxxxxxxxxxxxxx
>     
> <mailto:CAMQ488GRvYVEjWbPeRBmff851_CmdtSv-hWMmjo4FZcwOWb-4A@xxxxxxxxxxxxxx>>
>     Content-Type: text/plain; charset="iso-8859-1"
> 
>     Hello everyone,
> 
>     I apologize in case I'm asking this in the wrong place. I have setup
>     a Thredds server and I'd like to offer WMS access to several remote
>     datasets.
>     This remote datasets are given in OPENDAP and HTTPServer.
>     I cannot make the method shown
>     
> here<http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.2/reference/WMS.html>work.
> 
>     In catalog.xml I put:
>     <dataset name="Remote" ID="dbss_obil" serviceName="wms" urlPath="
>     
> http://localhost:8080/thredds/wms?dataset=http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/godas/dbss_obil.1984.nc";
>     dataType="Grid"/>
> 
>     I already changed the threddsConfig.xml file including:
>      <WMS>
>        <allow>true</allow>
>        <allowRemote>true</allowRemote>
>      </WMS>
> 
>     It gives me this error:
>     <ServiceExceptionReport version="1.3.0" xsi:schemaLocation="
>     http://www.opengis.net/ogc
>     http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd
>     "><ServiceException>
>            Failed to open dataset, "
>     
> http://www.esrl.noaa.gov/psd/thredds/dodsC/Datasets/godas/dbss_obil.1984.nc?service=WMS
>     ".
>     </ServiceException></ServiceExceptionReport>
> 
> 
>     So, am I trying to do something non-sense, expecting that my server
>     should be able to do the direct conversion from the remote .nc file
>     to WMS? Is there any way to do this?
> 
>     Many thanks,
>     Harbil
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL:
>     
> <http://mailman.unidata.ucar.edu/mailing_lists/archives/thredds/attachments/20110823/8e181d98/attachment.html>
> 
>     _______________________________________________
>     thredds mailing list
>     thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx>
>     For list information or to unsubscribe,  visit:
>     http://www.unidata.ucar.edu/mailing_lists/
> 
> 
> 
> 
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/ 

-- 
Ethan Davis                                       UCAR Unidata Program
edavis@xxxxxxxxxxxxxxxx                    http://www.unidata.ucar.edu



  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: