mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Caron says to use thredds-test
as the default test server.
This commit is contained in:
parent
b15a7b1191
commit
ab17dded89
@ -258,7 +258,7 @@ fix::
|
||||
done
|
||||
|
||||
##################################################
|
||||
T=civ2
|
||||
T=test_vara
|
||||
|
||||
v::
|
||||
cc -g -c ${T}.c ${INCL}
|
||||
|
@ -79,14 +79,15 @@ main()
|
||||
size_t start[RANK];
|
||||
size_t count[RANK];
|
||||
char URL[4096];
|
||||
const char* svc = NULL:
|
||||
const char* svc = NULL;
|
||||
|
||||
/* Find Test Server *.
|
||||
/* Find Test Server */
|
||||
svc = NC_findtestserver("dts");
|
||||
if(svc == NULL) {
|
||||
fprintf(stderr,"Cannot locate test server\n");
|
||||
exit(1);
|
||||
}
|
||||
printf("Using test server: %s\n",svc);
|
||||
strcpy(URL,svc);
|
||||
strcat(URL,DTSTEST);
|
||||
|
||||
|
@ -31,8 +31,9 @@ static struct NCPROTOCOLLIST {
|
||||
against future changes.
|
||||
*/
|
||||
static const char* servers[] = {
|
||||
"http://motherlode.ucar.edu:8081", /* try this first */
|
||||
"http://thredds.ucar.edu", /* Eventually, this will work */
|
||||
"http://thredds-test.ucar.edu",
|
||||
"http://thredds.ucar.edu",
|
||||
"http://motherlode.ucar.edu:8081",
|
||||
"http://motherlode.ucar.edu:8080",
|
||||
"http://motherlode.ucar.edu",
|
||||
"http://remotetest.unidata.ucar.edu",
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <string.h>
|
||||
#include <netcdf.h>
|
||||
|
||||
#define URL "http://motherlode.ucar.edu:8081/dts/test.02"
|
||||
#define URL "http://thredds-test.ucar.edu/dts/test.02"
|
||||
#define VAR "i32"
|
||||
|
||||
#define ERRCODE 2
|
||||
|
@ -124,7 +124,7 @@ argo_all.cdp;1;&location.LATITUDE<1&location.LATITUDE>-1\
|
||||
# Test string access
|
||||
# this test cannot be used because the
|
||||
# dataset has a limited lifetime
|
||||
#REMOTEURLC4="http://thredds.ucar.edu/thredds/dodsC/station/metar"
|
||||
#REMOTEURLC4="http://thredds-test.ucar.edu/thredds/dodsC/station/metar"
|
||||
#REMOTETESTSC4="\
|
||||
#Surface_METAR_20120101_0000.nc;1;weather[0:10]"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user