mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-12 15:45:21 +08:00
fix bug in % encoding of dap names
This commit is contained in:
parent
e8053ad518
commit
7f58fc9400
4
cf
4
cf
@ -8,8 +8,8 @@ cmds=$@
|
||||
fi
|
||||
|
||||
HDF5=1
|
||||
#DAP=1
|
||||
PNETCDF=1
|
||||
DAP=1
|
||||
#PNETCDF=1
|
||||
#RPC=1
|
||||
#PGI=1
|
||||
#M32=1
|
||||
|
@ -746,7 +746,6 @@ oc_dumpnode(conn,*rootp);
|
||||
|
||||
static char* badchars = "./";
|
||||
|
||||
|
||||
int
|
||||
dap_badname(char* name)
|
||||
{
|
||||
@ -785,7 +784,7 @@ dap_repairname(char* name)
|
||||
newchar[2] = hexdigits[digit];
|
||||
newchar[3] = '\0';
|
||||
strcat(newname,newchar);
|
||||
q += 4; /*strlen(newchar)*/
|
||||
q += 3; /*strlen(newchar)*/
|
||||
} else
|
||||
*q++ = c;
|
||||
*q = '\0'; /* so we can always do strcat */
|
||||
|
@ -13,15 +13,16 @@ P=`pwd`
|
||||
#T="1990-S1700101.HDF.WVC_Lat"
|
||||
T="synth1"
|
||||
|
||||
F="file://$TOP/ncdap_test/testdata3/$T"
|
||||
#F="file://$TOP/ncdap_test/testdata3/$T"
|
||||
#F="http://motherlode.ucar.edu:8081/dts/$T?f64"
|
||||
#F="http://motherlode.ucar.edu:8080/thredds/dodsC/testdods/coads_climatology.nc"
|
||||
#F="http://nomads.ncep.noaa.gov:9090/dods/gfs_hd/gfs_hd20120801/gfs_hd_00z"
|
||||
#F="http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops"
|
||||
#F="http://testbedapps-dev.sura.org/thredds/dodsC/auto/in.usf.fvcom.ike.ultralite.vardrag.nowave.2d"
|
||||
F="http://motherlode.ucar.edu:8081/dts/test.06"
|
||||
#F="http://motherlode.ucar.edu:8081/dts/test.06"
|
||||
|
||||
CON="OneD.amp,TwoD.amp,ThreeD.amp"
|
||||
F="http://motherlode.ucar.edu:8081/thredds/dodsC/testdods/nametest3.nc"
|
||||
|
||||
#CON="OneD.amp,TwoD.amp,ThreeD.amp"
|
||||
|
||||
|
||||
PARMS="[log]"
|
||||
|
Loading…
Reference in New Issue
Block a user