Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Create COGs From A Curvilinear NetCDF

ESA

Open The Source Dataset And Select Depths

Depth requests are snapped to the nearest available source depth so the output filenames match actual data values.

Loading...
Selected depths: [   0  500 1000 1500 2000 3000]

Build The EPSG:3031 Target Grid

The target grid is defined from the projected source footprint. Coordinates are cell centres, and y is descending so raster outputs have a conventional north-up transform.

Target grid: 5672 columns x 5062 rows at 1000 m

Reproject Values And Write One COG Per Depth

The KDTree lookup is computed once and reused for every depth slice. Missing source cells are written using a numeric nodata value because many GeoTIFF readers do not treat NaN consistently.

Wrote Tice_EPSG3031_depth_0m.tif
Wrote Tice_EPSG3031_depth_500m.tif
Wrote Tice_EPSG3031_depth_1000m.tif
Wrote Tice_EPSG3031_depth_1500m.tif
Wrote Tice_EPSG3031_depth_2000m.tif
Wrote Tice_EPSG3031_depth_3000m.tif

Validate And Inspect One Output

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_0m.tif is a valid cloud optimized GeoTIFF

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_500m.tif is a valid cloud optimized GeoTIFF

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_1000m.tif is a valid cloud optimized GeoTIFF

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_1500m.tif is a valid cloud optimized GeoTIFF

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_2000m.tif is a valid cloud optimized GeoTIFF

/home/krasen/hackathon-repo/downloaded_data/Tice_EPSG3031_depth_3000m.tif is a valid cloud optimized GeoTIFF

Total overview levels found: 4
<Figure size 1800x600 with 6 Axes>