Caron says to use thredds-test

as the default test server.
This commit is contained in:
Dennis Heimbigner 2013-03-25 18:01:32 +00:00
parent b15a7b1191
commit ab17dded89
6 changed files with 10 additions and 8 deletions

2
cf
View File

@ -8,7 +8,7 @@ fi
HDF5=1
DAP=1
PNETCDF=1
#PNETCDF=1
#HDF4=1
#RPC=1
#PGI=1

View File

@ -258,7 +258,7 @@ fix::
done
##################################################
T=civ2
T=test_vara
v::
cc -g -c ${T}.c ${INCL}

View File

@ -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);

View File

@ -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",

View File

@ -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

View File

@ -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]"