lauraduncanson / icesat2_boreal

Biomass modeling and mapping of forest biomass in the boreal using NASA's ICESat-2
14 stars 7 forks source link

Create a utils.py and add necessary functions #36

Closed pahbs closed 3 years ago

pahbs commented 3 years ago

e.g., write_cog

nmt28 commented 3 years ago

I Created CovariateUtils.py and copied the write_cog function over. Getting a weird "name np is not defined" error when trying to run it @pahbs @wildintellect

wildintellect commented 3 years ago

the python file was missing most of the needed imports, I also removed any use of alias names (As) on the imports. Works now for 3.1.5, adding a second function to read in tile bbox geometries for clipping/aligning.

wildintellect commented 3 years ago

@nmt28 @pahbs get_tile_index now works and 3.1.5 is refactored to use it. Should be ready to try in 3.1.2 We can close this ticket, unless there are other common functions already in use that should also be moved (I saw some copied into 3.1.5)