-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixing the issue with subsetting LandSat GeoTIFF files Subsetting of LandSat GeoTIFF files failed because the projection of LandSat files is different from lat/lon values usually given as input. Therefore, a function was added to transform the lat/lon values to the projection of LandSat data (derived automatically) Furthermore, subsetting function was adjusted to accept the transformed lat/lon values as local variables. Reported-by: Kasra Keshavarz <kasra.keshavarz1@ucalgary.ca> Signed-off-by: Kasra Keshavarz <kasra.keshavarz1@ucalgary.ca> * bumping version to 0.1.4 * removing the duplicate line for specifying longitude limits variable * Correcting extent extraction from LandSat GeoTIFFs Since converting the extents of input Shapefiles to the Landsat's projection value resulted in spatially accurate GeoTIFFs, another solution was implemented to: 1) reproject the input ESRI Shapefile into the projection of the Landsat rasters and 2) extract the extents from the reprojected ESRI Shapefile. This results in accurate spatial subset of the Landsat landcover values. Furthermore, the `extract_extent_shapefile()` function has changed in a way that could be provided with the source projection where the extents are desired. If not provided, the source projection of the ESRI Shapefile input data is considered to extract the extents. Signed-off-by: Kasra Keshavarz <kasra.keshavarz1@ucalgary.ca> Reported-by: Kasra Keshavarz <kasra.keshavarz1@ucalgary.ca> --------- Signed-off-by: Kasra Keshavarz <kasra.keshavarz1@ucalgary.ca>
- Loading branch information
1 parent
b4fe1df
commit 3adc6dd
Showing
2 changed files
with
102 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.3 | ||
0.1.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters