[Thread Prev][Thread Next][Index]

Re: [ferret_users] what is ferret's limit to the full path name for a netCDF data set



Hi Janeen,
The length is 256 characters. This allows for long local path names and also long DODS URL's. What version of Ferret are you running? What is the path you are trying to open? I created this directory and put a dataset into it, for a path name around 256 characters, and opened the data successfully.

yes? sp mkdir local_files
yes? sp mkdir datadir

yes? sp mkdir local_files/datadir/a234567890b234567890c234567890d234567890e234567890f234567890g234567890h234567890i234567890j234567890k234567890l234567890m234567890n234567890o234567890p234567890q23456789034567890r234567890s234567890t234567890u234567890v123456

yes? let abc = {1,2,3}
yes? clobber/file=aa.nc abc

yes? sp cp aa.nc local_files/datadir/a234567890b234567890c234567890d234567890e234567890f234567890g234567890h234567890i234567890j234567890k234567890l234567890m234567890n234567890o234567890p234567890q23456789034567890r234567890s234567890t234567890u234567890v123456

yes? use "./local_files/datadir/a234567890b234567890c234567890d234567890e234567890f234567890g234567890h234567890i234567890j234567890k234567890l234567890m234567890n234567890o234567890p234567890q23456789034567890r234567890s234567890t234567890u234567890v123456/aa.nc"

yes? show data
yes? list abc

Janeen wrote:
Hello,

I'm trying to find how long a full path for a data set can be, before ferret can't handle it.

For example, I know that a path of 126 characters is too long, but 92 is still accepted.

Anyone know what the actual number is?

Janeen

--

~> ~> ~> ~> ~> ~> ~> ~> ~> ~> ~>
Ansley Manke, NOAA/PMEL   ansley.b.manke@xxxxxxxx
7600 Sand Point Way NE, Seattle WA
Phone 206-526-6246,  FAX 206-526-6744




[Thread Prev][Thread Next][Index]

Contact Us
Dept of Commerce / NOAA / OAR / PMEL / TMAP

Privacy Policy | Disclaimer | Accessibility Statement