Skip to content

Conversation

@weiji14
Copy link
Owner

@weiji14 weiji14 commented Nov 27, 2018

Increasing spatial resolution of our Antarctic surface digital elevation model! There is finally a 100m mosaic product for the whole continent. Note that the dataset doi (currently linking to Harvard Dataverse) is still at v1.0.

Reference Elevation Model of Antarctica v1 strip density

From the 'release notes' at https://www.pgc.umn.edu/data/rema/:

REMA Release 1.1 corrects 2 minor issues in the mosaic tiles:

  1. A vertical offset of 39 cm was added to the 1086 8-m mosaic tiles registered to Cryosat-2 altimetry, as well as Antarctica-wide mosaics, to correct for biases induced by surface penetration and surface re-tracking. This correction was determined through comparison to ICESat-1 altimetry.
  2. Incorrect No Data values were replaced in 288 of the 8-m mosaic tiles and the Antarctica-wide mosaics.

Supersedes #8.

TODO:

  • Update data_list.yml with new download URL and sha256 (b04479d)
  • Regenerate tables using data_prep.ipynb (2fc62d3)
    • Update human readable version in misc/README.md
    • Update the rendered table in 'Download miscellaneous data' section under data_prep.ipynb
  • Include geojson tiles viewable in Github (bcb79ca)
    • Interactive slippy map available here!!
  • Save the new tiled arrays and upload to the cloud (cd72a30)
  • Retrain SRGAN model with the new tiles (6ebb6f2)

Increasing spatial resolution of our Antarctic surface digital elevation model! There is finally a 100m mosaic product for the whole continent. Note that the dataset doi (currently linking to Harvard Dataverse) is still at v1.0.

From the 'release notes' at https://www.pgc.umn.edu/data/rema/:

REMA Release 1.1 corrects 2 minor issues in the mosaic tiles:

    (1) A vertical offset of 39 cm was added to the 1086 8-m mosaic tiles registered to Cryosat-2 altimetry, as well as Antarctica-wide mosaics, to correct for biases induced by surface penetration and surface re-tracking. This correction was determined through comparison to ICESat-1 altimetry.

    (2) Incorrect No Data values were replaced in 288 of the 8-m mosaic tiles and the Antarctica-wide mosaics.

Supersedes #8.
@weiji14 weiji14 added enhancement ✨ New feature or request data 🗃️ Pull requests that update input datasets labels Nov 27, 2018
@weiji14 weiji14 added this to the v0.5.0 milestone Nov 27, 2018
@weiji14 weiji14 self-assigned this Nov 27, 2018
Update tables with new metadata for REMA_v1.1. Markdown table updated in misc/README.md with new filename and resolution (data_list.yml patched with correct 100m resolution...).

Also updated the rendered tables in jupyter notebook. Pandas queries modernized to use `.query` instead of `.loc`. Tables now have consistent table ids with changes to the pprint_table lambda function.
Truly adding geopandas now (not as in 9a932bf). Using latest from github master with a fiona deprecation warning fix geopandas/geopandas#854. Descartes also being installed for plotting purposes.
There are some data gaps in the 100m spatial resolution mosaic, so getting the 200m resolution (v1.1 this time) to gap fill those holes.
Better visibility of the exact areas of the tiles we use for training. Saved in Antarctic Polar Stereographic Projection (EPSG:3031) and  WGS84 (EPSG:4326) for easy rendering in Github. Plots of the tiles uses geopandas instead of shapely now in the jupyter notebook. Also update some README.md files describing some of the new stuff.
Ensures that the selective_tiling function works. Not a very well written integration test (there are hard coded elements) but it does capture an important part of the data processing pipeline. The test retrieves the bounding boxes directly from the tiles_3031.geojson file, meaning it excludes the get_window_bounds function (which is itself captured in a unit test only).
Core part of #64. Higher resolution tiles of Antarctica's surface elevation! The 100m Reference Elevation Model of Antarctica v1.1 has some data gaps/holes, so we're filling it in with the 200m resolution mosaic (resampled to 100m). Tiles are still 8km by 8km in shape, but we now have 80pixel by 80pixel REMA tiles, up from the 40pixel by 40pixel tiles previously.

Note that the gapfill part of the selective_tile function is not covered by any unit or integration tests.
Retrain Super Resolution Generative Adversarial Network on the new Reference Elevation Model of Antarctica v1.1 100m resolution (gapfilled) tiles from cd72a30. Hard coded input shape, filter kernel size and strides for REMA have to change to the new 80pixel by 80pixel tile shape.

Trained for 200 epochs instead of 50 epochs before. Visual inspection of results appear to show a minor improvement over previous training in 33666cc using 200m resolution REMA. Somewhat smoother looking results, but still have checkerboard artifacts because tile borders are not well resolved.
@weiji14 weiji14 changed the title WIP Bump REMA surface DEM from v1.0 to v1.1, 200m to 100m resolution Bump REMA surface DEM from v1.0 to v1.1, 200m to 100m resolution Dec 3, 2018
@weiji14 weiji14 merged commit 6ebb6f2 into master Dec 3, 2018
@weiji14 weiji14 deleted the misc/Noh2018REMA_v1.1 branch December 3, 2018 02:04
weiji14 added a commit that referenced this pull request Aug 30, 2019
Write script for gapfilling the 100m REMA Ice Surface Elevation DEM with the seamless 200m version (bilinear interpolated), i.e. a more proper version of cd72a30 of #64. Based on the old selective_tiling code's gapfill_raster section that we deprecated in 690c365. I've experimented with alternative methods such as making a virtual (.vrt) GeoTIFF, mosaicking using pure GDAL and rasterio's merge tool, even considered GMT's grdblend, but nothing really merges the two together (with REMA_100 as highest priority, then REMA_200) properly the way I want it, in a reasonable-ish amount of time. Might be good to actually output this homemade 100m gapfilled REMA to a Cloud-Optimized GeoTIFF, NetCDF or Zarr, but we'll stick to good ol' GeoTIFF for now, even if it is 9.9GB.
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 enhancement ✨ New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant