Skip to content

Conversation

@weiji14
Copy link
Owner

@weiji14 weiji14 commented May 2, 2019

Adding Landsat 8 Ice Speed of Antarctica (LISA), Version 1 with 750m spatial resolution. Used to fill in data gaps in the MEaSUREs) Ice Velocity 450m spatial resolution dataset (see also #20).

Landsat 8 Ice Speed of Antarctica over Filchner Ice Shelf and tributary ice streams

References:

  • Fahnestock, M., Scambos, T., Moon, T., Gardner, A., Haran, T. and Klinger, M.: Rapid large-area mapping of ice flow using Landsat 8, Remote Sensing of Environment, 185, 84–94, doi:10.1016/j.rse.2015.11.023, 2016.
  • Scambos, T., Fahnestock, M., Moon, T., Gardner, A. and Klinger, M.: Landsat 8 Ice Speed of Antarctica (LISA), , doi:10.7265/nxpc-e997, 2019.

TODO:

  • Add dataset to data_list.yml (6bcdb78)
  • Figure out how to only extract the 1 file needed out of several in the tar.gz archive (66b0628)
  • Normalize LISA's metres/day to MEaSUREs's metres/year (906ff7b)

@weiji14 weiji14 added the data 🗃️ Pull requests that update input datasets label May 2, 2019
@weiji14 weiji14 added this to the v0.8.0 milestone May 2, 2019
@weiji14 weiji14 self-assigned this May 2, 2019
@review-notebook-app
Copy link

Check out this pull request on ReviewNB: https://app.reviewnb.com/weiji14/deepbedmap/pull/138

Visit www.reviewnb.com to know how we simplify your Jupyter Notebook workflows.

Adding LISA to gapfill MEASURES Ice Velocity later on. The actual file downloaded is a tar.gz archive which is quite large (882MB), but we only need one of the files inside the archive. More code to come later.

Also, to support download of FTP files, I've replaced requests with urllib in the data_prep.download_to_path function. Requests library unpinned from Pipfile.
@weiji14 weiji14 force-pushed the fahnestock2019lisa_v1 branch from 56abd45 to 6bcdb78 Compare May 2, 2019 13:13
weiji14 added 2 commits May 3, 2019 16:14
Extract the one specific geotiff file we want after downloading the big .tgz/.tar.gz archive file! Implementation is a bit hacky, and it feels as though now would be a good time to switch to using DVC but why learn an existing wheel when I can make one?

Anyhow, this hack allows us to continue using the same data_list.yml file structure, and most of our download workflow remains the same. Surprisingly, even the complicated BAS ramadda URLs should work! Could extend this code to support .zip files in the future.
Allow MEASURES Ice Velocity to be properly gapfilled by LISA by converting the latter from metres/day to metres/year through multiplying by 365.25. Using Rasterio rio command-line for this...

Note that actual Ice Velocity training tiles remain the same, as there is nothing to gapfill (yet). Tweaked the selective_tile function to print "... done!" when tiling is finished, and raise an error if there are still NaN values after gapfilling. Also made other small tweaks like using the correct MEaSUREs Antarctic Ice Flow doi and switched jupytext format from py:percent to py:hydrogen.
@weiji14 weiji14 force-pushed the fahnestock2019lisa_v1 branch from 83f3db1 to 906ff7b Compare May 6, 2019 10:35
@weiji14 weiji14 merged commit 906ff7b into egu2019_poster_figs May 6, 2019
weiji14 added a commit that referenced this pull request May 6, 2019
Closes #138 Add Landsat 8 Ice Speed of Antarctica (LISA), Version 1.
@weiji14 weiji14 marked this pull request as ready for review May 6, 2019 10:48
@weiji14 weiji14 deleted the fahnestock2019lisa_v1 branch May 6, 2019 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data 🗃️ Pull requests that update input datasets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant