[ncl-talk] CFSR from OpenDAP

David Brown dbrown at ucar.edu
Thu Apr 27 14:06:08 MDT 2017


There is definitely a bug. NCL is getting confused by the "grb2" extension
in the name, causing the path treated as a local file path rather than as
an OpenDAP file. This should be an easy fix.
 -dave

On Thu, Apr 27, 2017 at 1:59 PM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Hi Carl,
>
> Try "http:" rather than "https:" -- it worked for me.  In the case of
> "https:", an strace of NCL revealed it was looking only in the local file
> system for the file, and there was no network activity.  I don't know if
> that is a bug or intentional behavior.
>
> Rick
>
>
> On Thu, Apr 27, 2017 at 1:47 PM, Kyle Griffin <ksgriffin2 at wisc.edu> wrote:
>
>> Hi Carl,
>>
>> I can confirm that I can open the file via netCDF4 in python (1.2.7), but
>> cannot in my installs of NCL (6.3.0). There was a version of netCDF4 that
>> had issues with OPeNDAP a few months ago (1.2.1 ish, perhaps?), but that
>> doesn't explain why the much older NCL 6.3.0 would also fail to open the
>> file.
>>
>>
>> Kyle
>>
>> On Thu, Apr 27, 2017 at 12:38 PM Carl Schreck <cjschrec at ncsu.edu> wrote:
>>
>>> I am trying to access CFS Reforecasts from any of the files underneath
>>> here
>>> <https://nomads.ncdc.noaa.gov/thredds/catalog/cfsr-hpr-ts45/catalog.html>,
>>> such as this one for OLR
>>> <https://nomads.ncdc.noaa.gov/thredds/catalog/cfsr-hpr-ts45/uswtoa_f/2010/201012/catalog.html?dataset=cfsr-hpr-ts45/uswtoa_f/2010/201012/uswtoa_f.01.2010123118.2011021418.2010123118.grb2>
>>> .
>>>
>>> But NCL does not seem to be able to access the OpenDAP links:
>>> ncl 0> f=addfile("https://nomads.ncdc.noaa.gov/thredds/dodsC/cfsr-
>>> hpr-ts45/uswtoa_f/2010/201012/uswtoa_f.01.2010123118.2011021
>>> 418.2010123118.grb2","r")
>>> fatal:_NclFileCreate: Requested file does not exist as (
>>> https://nomads.ncdc.noaa.gov/thredds/dodsC/cfsr-hpr-ts45/us
>>> wtoa_f/2010/201012/uswtoa_f.01.2010123118.2011021418.2010123118.grb2)
>>> or as (https://nomads.ncdc.noaa.gov/thredds/dodsC/cfsr-hpr-ts45/us
>>> wtoa_f/2010/201012/uswtoa_f.01.2010123118.2011021418.2010123118), can't
>>> add file
>>>
>>> I'm trying to figure out if it's an issue with NCL or with their server.
>>> It also failed on 6.3.0.
>>>
>>> Let me know if you have any thoughts. Thanks!
>>> Carl
>>>
>>>
>>> --
>>>
>>>
>>> <https://ncics.org/>
>>> * Cyclone <http://www.cyclonecenter.org/>*Center.org
>>> <http://www.cyclonecenter.org/>   *Carl J. Schreck III, PhD*
>>> *Research Scholar / Research **Assistant Professor*
>>> Cooperative Institute for Climate and Satellites NC (CICS
>>> <http://www.cicsnc.org/>*-NC) <http://www.cicsnc.org/> /*
>>> Department of Marine, Earth, and Atmospheric Sciences (MEAS)
>>> <https://meas.sciences.ncsu.edu/>
>>> North Carolina State University <http://ncsu.edu/>
>>> NOAA National Centers for Environmental Information (NCEI)
>>> <http://ncei.noaa.gov/>
>>> 151 Patton Ave, Asheville, NC 28801
>>> e: carl_schreck at ncsu.edu
>>> o: +1 828 257 3140 <(828)%20257-3140>
>>> c: +1 828 484 1702 <(828)%20484-1702>
>>> Publications
>>> <http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
>>> ncics.org/mjo
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>> --
>> ----------------------------------------
>> Kyle S. Griffin
>> Department of Atmospheric and Oceanic Sciences
>> University of Wisconsin - Madison
>> Room 1407
>> 1225 W Dayton St, Madison, WI 53706
>> Email: ksgriffin2 at wisc.edu
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170427/451fb164/attachment.html 


More information about the ncl-talk mailing list