Re: Is NCL on gale/gust Dods enable?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 10 Sep 2008 07:21:36 -0600

Hi Andrea,

No, the NCL on gust/breeze is not DODs-enabled. I thought these
machines were behind a firewall,
but I just ran a test and I was able to open a file on an OPenDAP
server.

I will email you separately about how you can get access to an OPeNDAP-
enabled NCL.

Meanwhile, here's a little test I use:

  url = "http://test.opendap.org/opendap/data/nc/"
  filename = "123.nc"

  exists = isfilepresent(url+filename)
  if(.not.exists) then
    print("OPeNDAP isfilepresent test unsuccessful.")
    print("Either file doesn't exist, or NCL does not have OPeNDAP
capabilities on this system")
    status_exit(1)
  else
    print("OPeNDAP isfilepresent test successful.")
    f = addfile(url + filename,"r")
    vars = getfilevarnames(f)
    vars_out = (/"l","j","i","cross","aloan","shot","order","bears"/)
    sqsort(vars)
    sqsort(vars_out)
    check_values("OPeNDAP","vars",vars,vars_out,True,False,-999.)
  end if

--Mary

On Sep 10, 2008, at 2:54 AM, Andrea Hahmann wrote:

> Good morning. How do I find out if a version of NCL is Dods-able or
> not? I tried to run the script that is on the web, but it does not
> work... It is not clear from the output if the data is not available
> or ncl can't do it. Is the ncl version on gale/gust/breeze Dods able?
> Thanks,
> Andrea
>
> --
> ----------------------------------------------------------------
> Andrea N. Hahmann, Ph.D.
> Research Applications Laboratory
> Natl. Center for Atmospheric Research Phone: 1-303-497-8383
> PO BOX 3000 Fax: 1-303-497-8401
> Boulder, CO 80301 hahmann_at_ucar.edu
> ----------------------------------------------------------------
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 10 2008 - 07:21:36 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 10 2008 - 07:38:41 MDT