curl-users
Re: Using curl to access OpeNDAP
Date: Tue, 9 Jun 2015 22:50:55 +0000 (UTC)
Yes!!!That fixed it.Thank you Dan
________________
Derek Goring
Mulgor Consulting Ltd
24 Brockworth Place
Christchurch, New Zealand
Phone: 64 3 942 5452
Mobile: 64 212 777 639
Website: www.mulgor.co.nz
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-users_at_cool.haxx.se
Sent: Wednesday, 10 June 2015 10:31 AM
Subject: Re: Using curl to access OpeNDAP
On Tue, Jun 09, 2015 at 10:04:37PM +0000, Derek Goring wrote:
> If I enter this:
> http://nomads.ncep.noaa.gov:9090/dods/wave/mww3/20150609/
> multi_1.glo_30mext20150609_00z.asc?htsgwsfc[0:60][64:64][346:346]
> into a web browser, I get a list of data from NOAA's wave forecast database.
>
> Now, I'd like to automate this using curl but using this:
> curl "http://nomads.ncep.noaa.gov:9090/dods/wave/mww3/20150609/
> multi_1.glo_30mext20150609_00z.asc?htsgwsfc[0:60][64:64][346:346]" -o
> PegBay.txt
> gives me a globbing error just after the question mark.
>
> What am I doing wrong?
curl interprets the [ ] brackets itself to provide globbing. Use the -g option
to disable that.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-06-10