GO-Eratosthenes / dhdt

Extracting topography from mountain glaciers, through the use of shadow casted by surrounding mountains.
https://dhdt.readthedocs.io
Apache License 2.0
7 stars 1 forks source link

inconsistent folder specification #81

Closed dicaearchus closed 1 year ago

dicaearchus commented 1 year ago

specification of the "data" folder is different,

in the Bologna-examples it is DATA_DIR = "/project/eratosthenes/Data/" while in handler_randolph it is RGI_DIR_DEFAULT = os.path.join('.', 'data', 'RGI')

which one to use?

fnattino commented 1 year ago

Uhm, RGI_DIR_DEFAULT (and similarly for the MGRS tile and for the DEM) is the location where files are stored by default when one uses the dhdt library. This is now consistently set to ./data/..., so if you do not specify a custom location you get files in a data subfolder of your current working directory.

I thought the Bologna example directory as the location where to store all scripts used for the actual analysis of the Bologna glacier. Since we will run things on Spider, I thought of using a custom shared location (/project/eratosthenes/Data), so that we both have access to the data.