[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[THREDDS #FYW-620774]: TDS: forward slashes only in "location"?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [THREDDS #FYW-620774]: TDS: forward slashes only in "location"?
  • Date: Fri, 13 Feb 2009 10:06:03 -0700

> TDS folks,
> 
> I just spent 15 minutes trying to figure out what was wrong with
> TDS4.0 running locally serving local data on my PC.
> 
> In the end, I figured out that TDS4.0 requires forward slashes instead
> of backward slashes.  So
> 
> This works:   <netcdf
> location="c:/rps/cf/coastwatch/2009_009_1710_aqua_ex1_Rrs667.hdf"/>
> 
> This doesn't:   <netcdf
> location="c:\rps\cf\coastwatch\2009_009_1710_aqua_ex1_Rrs667.hdf"/>
> 
> Has it always been this way?

yes

> I tried to find documentation on this, but probably didn't look hard enough.
> 
> I thought I had used backwards slashes in earlier versions, but perhaps not.

once can use \\ but only on a Windows machine.

/ always works, no matter what platform - i recommend it.


Ticket Details
===================
Ticket ID: FYW-620774
Department: Support THREDDS
Priority: Normal
Status: Closed