CH-Earth / summa

Structure for Unifying Multiple Modeling Alternatives:
http://www.ral.ucar.edu/projects/summa
GNU General Public License v3.0
80 stars 105 forks source link

Increase maximum path length. #371

Closed arbennett closed 4 years ago

arbennett commented 4 years ago

The previous path length defined in the file manager reading code was too short for some of my ensemble runs with pysumma so I have increased it. The overall maximum path lengths for various operating systems seems to depend on the file systems they are installed in, but here are some rules of thumb:

Windows: 260 characters (newer versions of Windows 10 allow for modification of this limit) MacOS: 1024 characters on HFS, unlimited on HFSplus Linux: 4096 characters (defined in the kernel)

With this in mind I feel we should just expand it to 4096 (the biggest concrete number I could find), and then just let the OS be the real arbiter.