Re: OPeNDAP

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 19 2012 - 11:06:52 MDT

Hi Ugo,

The 6.1.0-beta binary was only broken for two Linux systems. I think it should be okay for the Mac OS and Cygwin binaries.

As Wei indicated, we need to know exactly which binary was downloaded so we can verify that OPeNDAP is working with it.

--Mary

On Sep 19, 2012, at 10:58 AM, Ugo Merlini wrote:

>
> Hi
>
> In beta 6.1.0 opendap is broken Mary Haley posted a fixed version for
> gcc 445 one or two weeks ago
>
> Ugo
>
> Il 19/09/2012 18:40, Mingxuan Chen ha scritto:
>> Wei,
>> Please see the following:
>> --------------------------------------------
>> ncopen: filename "http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20120907/gfs_hd_00z": NetCDF: Unknown file format
>> (0) File: <http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20120907/gfs_hd_00z>, existence: False
>> fatal:NetCDF: Unknown file format
>> fatal:Could not open (http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20120907/gfs_hd_00z)
>>
>> Variable: f
>> Type: file
>> (0) File Missing Value : -1
>> ------------------------------------
>> Thanks
>> Mingxaun
>>
>> On Sep 19, 2012, at 10:32 AM, Wei Huang <huangwei@ucar.edu> wrote:
>>
>>> Mingxuan,
>>>
>>> That server could have some problem.
>>>
>>> Can you try script:
>>>
>>> flnm = "http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20120907/gfs_hd_00z"
>>> exists = isfilepresent(flnm)
>>> print("File: <" + flnm + ">, existence: " + exists)
>>>
>>> f = addfile(flnm, "r")
>>> print(f)
>>>
>>> and let us know if there is any problem?
>>>
>>> Thanks,
>>>
>>> Wei
>>>
>>> huangwei@ucar.edu
>>> VETS/CISL
>>> National Center for Atmospheric Research
>>> P.O. Box 3000 (1850 Table Mesa Dr.)
>>> Boulder, CO 80307-3000 USA
>>> (303) 497-8924
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Sep 19, 2012, at 10:07 AM, Mingxuan Chen wrote:
>>>
>>>> Hello,
>>>> My machine is in Mac OS X 10 8.1, ncl version is 6.1.0-beta and I want to access OPENDAP data.
>>>> I tried opendap.ncl
>>>> --------------------------------------
>>>> ncopen: filename "http://test.opendap.org/data/nc/123.nc": NetCDF: Unknown file format
>>>> (0) OPeNDAP isfilepresent test unsuccessful.
>>>> (0) Either file doesn't exist, or NCL does not have OPeNDAP capabilities on this system
>>>> ---------------------
>>>> What is wrong?
>>>>
>>>> Thank you for your help!
>>>>
>>>>
>>>> Mingxuan
>>>>
>>>> ------opendap.ncl-----------------
>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"
>>>> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/diagnostics_cam.ncl"
>>>>
>>>> begin
>>>> url= "http://test.opendap.org/data/nc/"
>>>> filename = url + "123.nc"
>>>> print(filename)
>>>> exists = isfilepresent(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")
>>>> else
>>>> print("OPeNDAP isfilepresent test successful.")
>>>> f = addfile(filename,"r")
>>>> vars = getfilevarnames(f)
>>>> print(vars) ; should be (in any order): "l","j","i","cross","aloan",
>>>> ; "shot","order","bears"
>>>> end if
>>>> end
>>>> -----------------
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 19 11:07:00 2012

This archive was generated by hypermail 2.1.8 : Fri Sep 21 2012 - 16:22:30 MDT