When accessing online files (ftp, http for example) there should be a class to deal with retrieval of those files including timeouts, error handling and retries. This would be used for shapefiles, dtm, config files and clut files.
Current Situation
Currently there is specific code written for each case of DTM, shapefile, config and clut file retrieval and the error handling is not standardised.
Proposed Solution
A class that specifies the url, timeout time, number of retries and what to return on different types of errors (Empty Dataframe??, None??, exception??)
💻
Feature Title
Generic file retrieval class
Feature Description
When accessing online files (ftp, http for example) there should be a class to deal with retrieval of those files including timeouts, error handling and retries. This would be used for shapefiles, dtm, config files and clut files.
Current Situation
Currently there is specific code written for each case of DTM, shapefile, config and clut file retrieval and the error handling is not standardised.
Proposed Solution
A class that specifies the url, timeout time, number of retries and what to return on different types of errors (Empty Dataframe??, None??, exception??)
Additional Context
No response
Affected Areas