-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CryoTEMPO SI.9/PO.9 - Implement a more accurate land-ocean mask #70
Comments
Which landmask and type (grid/shapefile) should we use? |
This issue also requires the change of the Level-1 pre-processor: At the moment there is no injection point of auxiliary information, before the extraction of polar ocean segments. This method already relies on the existing land/ocean flag in the l1 source data and thus an injection point for data must be established directly after the source file is parsed. This will also be beneficial if data should be added to the l1p data object that exists for the same period as the source data. |
Three available land and or ocean shapefile products have been downloaded:
The resolution of the GSHHG (at full resolution) and OSM exceed the NE coastline. However a critical test is the coast line of greenland and all coastlines were evaluated against Global 30 Arc-Second Elevation (GTOPO30) digital elevation model: The result was that the Natural Earth land mask hat the best agreement with the topographic data. But since Natural Earth lacks detail (small islands) in other parts of the Arctic Ocean, the goal for the moment is to create a land/ocean mask based on OSM, except for Greenland, which is based on NE. |
As a first step, Greenland is manually removed from the OSM shapefile with QGIS. The remaining shapes are then rasterized using
The chosen resolution preserved small islands (example here is Hinlopenstretet in Svalbard): |
The total filesize of the global geotiff (date type Byte) is 2.4GB, which is excessive to hold in memory during the Level-1 pre-processor. The global data is therefore reprojecedt to a polar projection (WGS 84 / NSIDC EASE-Grid 2.0 North, EPSG:6931) again using gdal:
The output is a 1.2GB geoTIFF file with 40000P x 40000L pixels, which includes the full CryoSat-2 subset (north of 45N) used for CryoTEMPO: |
Workflow to merge the Natural Earth Greenland polygon into the Open Street Map shapefile:
The result: |
Gdal also offers a way to compute the distance to the coast with
The result for full mask extent: and a subset at full resolution in the Canadian Archipelago: |
Updated the Level-1 pre-processor workflow in shendric@d488118. It is now possible to the specify a stage for a L1 pre-processor item to run: Possible pre-processor stages:
The change was necessary, because the updated land/ocean flag needs to be swapped in before the ocean segment extraction. And before were called only after the ocean segment extraction. |
Feature is on operation. This issue will be closed for now, but may be re-opened for land/ocean mask udpates |
The current land/ocean mask is based on GSHGG data, which is incorrect. The task includes the following actions:
The text was updated successfully, but these errors were encountered: