Re: [thredds] URL pattern to access NetCDF-Java ToolsUI?

Hi John:

When TDS gets this URL:

http://oos.soest.hawaii.edu/thredds/view/ToolsUI.jnlp?catalog=http://oos.soest.hawaii.edu/thredds/idd/nss_hioos.xml&dataset=NS02agg

It creates a jnlp file which is sent back to your browser. If your browser has Java webstart installed as a helper application (which happens when you install Java on your computer), the jnlp file is handled by the "Java plugin" on your browser, which downloads ToolsUI from wherever the jnlp file specifies, currently:

  "http://www.unidata.ucar.edu/software/netcdf-java/v4.3/webstart";

The jnlp file has been customized to include the command line argument of the form "{catalog}#{dataset}", and the ToolsUI application looks for this and uses it to open that catalog and display the named dataset in the "Catalog Chooser" tab. This UI component gives access to all the metadata and access protocols of that dataset.

Ok, I just had to write all that down to remind myself how it works.

ToolsUI will also accept a command line consisting of just the dataset URL, and send it to the Viewer tab. You would have to create a different Viewer / JNLP file to make this work from TDS, but Im not sure if thats what you want to do?

John



On 5/1/2013 6:14 PM, John Maurer wrote:
Hi all,
By default, many/all TDS catalogs list the "NetCDF-Java ToolsUI (webstart)" under Viewers. I notice that this is accessed via two URL parameters: "catalog" and "dataset", for the TDS catalog page URL and dataset identifier, respectively. e.g.

http://oos.soest.hawaii.edu/thredds/idd/nss_hioos.html?dataset=NS02agg
points to:
http://oos.soest.hawaii.edu/thredds/view/ToolsUI.jnlp?catalog=http://oos.soest.hawaii.edu/thredds/idd/nss_hioos.xml&dataset=NS02agg

I'm wondering if there is a way to access the ToolsUI with other URL parameters? Specifically, is there a way to pass it an OPeNDAP URL rather than a TDS catalog and dataset ID. e.g.

http://oos.soest.hawaii.edu/thredds/view/ToolsUI.jnlp?url=http://oos.soest.hawaii.edu/thredds/dodsC/hioos/nss/ns02agg

My tests using "url" or "opendap" parameters pointing to the above OPeNDAP endpoint were unsuccessful at loading the dataset at startup.
Thanks!,
John Maurer
Pacific Islands Ocean Observing System (PacIOOS)
University of Hawaii at Manoa





_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

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