ost.helpers.helpers¶
This script provides core helper functions for the OST package.
Functions
Removes both dim and data from a Snap dimap file |
|
Removes the shapefile and all its associated files |
|
Function to move dimap's data and dim another locations |
|
A helper function that cleans the content of a folder |
|
Convert resolution in meters to degree based on Latitude |
|
|
|
A helper function to print a time elapsed statement |
- ost.helpers.helpers.delete_dimap(dimap_prefix)[source]¶
Removes both dim and data from a Snap dimap file
- ost.helpers.helpers.delete_shapefile(shapefile)[source]¶
Removes the shapefile and all its associated files
- ost.helpers.helpers.move_dimap(infile_prefix, outfile_prefix, to_tif)[source]¶
Function to move dimap’s data and dim another locations
- ost.helpers.helpers.remove_folder_content(folder)[source]¶
A helper function that cleans the content of a folder
- Parameters
folder –
- ost.helpers.helpers.resolution_in_degree(latitude, meters)[source]¶
Convert resolution in meters to degree based on Latitude
- Parameters
latitude –
meters –
- Returns