CURL Error: Couldn't connect to server

414 views
Skip to first unread message

Ibrahim Palma

unread,
Jan 13, 2017, 6:30:25 PM1/13/17
to connectivity-modeling-system-club
Hello everyone
I am trying to run the CMS but when I run ./getdata I get the following error

$ ./getdata example 1
 fill_value
and velocity_conversion_factor on read   1.26765060E+30   1.00000000    
 
Opening file for reading: http://tds.hycom.org/thredds/dodsC/glb_analysis
CURL
Error: Couldn't connect to server
curl error details:
 Error in the netCDF file: http://tds.hycom.org/thredds/dodsC/glb_analysis
 NetCDF: I/O failure

and when I try to access the CURL address directly through Google I get

Error {    
    code
= 400;
    message
= "Unrecognized request";
};

It is the right direction?
Could you offer me the correct CURL please?

Thanks in advance

sally.wood

unread,
Jan 16, 2017, 7:27:49 AM1/16/17
to connectivity-modeling-system-club
Hi Ibrahim, the URL you are using no longer exists (I guess you are just using the old example input nest.nml file as is, without changing anything?). Instead, depending on what HYCOM data you are trying to download, it will be something like: http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_19.1.html. You need to browse the HYCOM data server (https://hycom.org/dataserver) for the experiment you want, and then navigate through to the OPENDAP link. This is also where you will get all the information to fill in the nest.nml file. See a post on this here
Hope that helps,
Sally

Ibrahim Palma

unread,
Jan 16, 2017, 12:42:48 PM1/16/17
to connectivity-modeling-system-club
Hi Dr. Sally Wood. I appreciate your help
I worked in the corrections but when I try to run the ./getdata I get a similar mistake with the new direction.

--------------------------------------------------------------------------------------------------------------------------------------
$ ./getdata example 1
 fill_value and velocity_conversion_factor on read  -30.0000000       1.00000000   
 Opening file for reading: http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_19.1/2011
CURL Error: Couldn't resolve host name
curl error details:
 Error in the netCDF file: http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_19.1/2011
 NetCDF: I/O failure
------------------------------------------------------------------------------------------------------------------------------------

I tried to access by hand but needed termination. html to do it:

        "Http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_19.1/2011.html"

But ./getdata did not recognize the address.

Is this page correct (with .html termination) to download the files or do I need to add something else?

Thanks in advance for your help
Ibra

Sally Wood

unread,
Jan 16, 2017, 1:18:23 PM1/16/17
to Ibrahim Palma, connectivity-modeling-system-club
No, you don't need the .html, the url you specified is correct:

So either you are doing something else wrong (maybe post the nest.nml file you are using), or it is a problem at the HYCOM server - see this recent thread on the HYCOM forum re access issues: https://groups.google.com/a/hycom.org/forum/#!topic/forum/XHYo28P4_hk

Sally


Dr Sally Wood  
School of Earth Sciences, University of Bristol
Wills Memorial Building, Queens Road, BRISTOL BS8 1RJ
+44 (0)117 954 5429 | w: salwood.weebly.com | t: @SalWood82

--
You received this message because you are subscribed to the Google Groups "connectivity-modeling-system-club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to connectivity-modeling-system-club+unsubscribe@googlegroups.com.
To post to this group, send email to connectivity-modeling-system-cl...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ibrahim Palma

unread,
Jan 19, 2017, 11:28:08 AM1/19/17
to connectivity-modeling-system-club, echoether...@gmail.com
Hi, Dr. Sally. I appreciate your help

I am asking in the forum of HyCOM

As you stated above my nest_1.nml file it is in the following form:
------------------------------------------------------------------------------------------------------------------------------
&nest_input
 filename=  "http://tds.hycom.org/thredds/dodsC/GLBu0.08/expt_19.1/2011"
 xaxis= "lon"
 yaxis= "lat"
 zaxis= "depth"
 taxis= "time"
 xstart=-10.0
 xend=10.0
 ystart=50.0
 yend=63.04
 zstart=0.0
 zend=0.0
 zaxis_positive_direction= "down"
 tstart_yy=2011
 tstart_mm=04
 tstart_dd=29
 tend_yy=2011
 tend_mm=06
 tend_dd=28
 time_step=86400
 time_units= "hours"
 jdate_yy=2000
 jdate_mm=01
 jdate_dd=01
 lon_name= "lon"
 lat_name= "lat"
 depth_name= "depth"
 depth_conversion_factor=1
 time_name= "time"
 uvel_name= "water_u"
 vvel_name= "water_v"
 wvel_name= ""
 wvel_positive_direction = ""
 velocity_conversion_factor=1
 dens_name= ""
 temp_name= "water_temp"
 saln_name= ""
 ssh_name= ""
 angle_file=""
 fill_value=-30
 agrid=.true.
$end
------------------------------------------------------------------------------------------------------------------------------
Thanks in advance
Ibra
Reply all
Reply to author
Forward
0 new messages