Skip to content
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

Not for merge - Preview CMIP6 TAS Kerchunk #667

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ APP_DESCRIPTION=User interface of module VEDA
[email protected]

API_RASTER_ENDPOINT='https://staging-raster.delta-backend.com'
API_STAC_ENDPOINT='https://staging-stac.delta-backend.com'
API_STAC_ENDPOINT='https://dev-stac.delta-backend.com/api/stac'
API_XARRAY_ENDPOINT='https://dev-titiler-xarray.delta-backend.com/tilejson.json'

# If the app is being served in from a subfolder, the domain url must be set.
Expand Down
76 changes: 76 additions & 0 deletions mock/datasets/cmip6-tas.data.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
---
id: combined_CMIP6_daily_GISS-E2-1-G_tas_kerchunk_TEST
name: 'CMIP6 Daily GISS-E2-1-G Near-Surface Air Temperature (demo subset)'
featured: true
description: "Daily near-surface air temperature from the NASA Earth Exchange Global Daily Downscaled Projections (NEX-GDDP-CMIP6) Project."
media:
src: ::file ./cmip6-tas.png
alt: CMIP6 Near-Surface Air Temperature Screenshot
taxonomy:
- name: Topics
values:
- Climate
layers:
- id: combined_CMIP6_daily_GISS-E2-1-G_tas_kerchunk_TEST
stacCol: combined_CMIP6_daily_GISS-E2-1-G_tas_kerchunk_TEST
name: CMIP6 Daily GISS-E2-1-G Near-Surface Air Temperature (demo subset)
type: zarr
description: "Historical (1950-2014) daily-mean near-surface (usually, 2 meter) air temperature in Kelvin."
zoomExtent:
- 0
- 20
sourceParams:
reference: true
resampling_method: bilinear
variable: tas
colormap_name: coolwarm
rescale: 232,312
maxzoom: 12
legend:
unit:
label:
type: gradient
min: "232 K"
max: "312 K"
stops:
- '#3b4cc0'
- '#7b9ff9'
- '#c0d4f5'
- '#f2cbb7'
- '#ee8468'
- '#b40426'
---

<Block>
<Prose>
# NASA Earth Exchange Global Daily Downscaled Projections (NEX-GDDP-CMIP6)

The NEX-GDDP-CMIP6 dataset provide a set of global, high resolution, bias-corrected climate change projections that can be used to evaluate climate change impacts on processes that are sensitive to finer-scale climate gradients and the effects of local topography on climate conditions.

NEX-GDDP-CMIP6 is comprised of global downscaled climate scenarios derived from the General Circulation Model (GCM) runs conducted under the Coupled Model Intercomparison Project Phase 6 (CMIP6) and across all four “Tier 1” greenhouse gas emissions scenarios known as Shared Socioeconomic Pathways (SSPs). The CMIP6 GCM runs were developed in support of the Sixth Assessment Report of the Intergovernmental Panel on Climate Change (IPCC AR6). This dataset includes downscaled projections from ScenarioMIP model runs for which daily scenarios were produced and distributed through the Earth System Grid Federation.

### Summary

* Format: [kerchunk (metadata)](https://fsspec.github.io/kerchunk/) for netCDF4
* Spatial Coverage: 180° W to 180° E, 60° S to 90° N
* Temporal: 1950-01-01 to 1951-12-31
* _As noted below, this dataset is a subset all available data. The full dataset includes data from 1950 to 2100._
* Data Resolution:
* Latitude Resolution: 0.25 degrees (25 km)
* Longitude Resolution: 0.25 degrees (25 km)
* Temporal Resolution: daily

Source: [https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-gddp-cmip6](https://www.nccs.nasa.gov/services/data-collections/land-based-products/nex-gddp-cmip6)

## AWS Public Dataset

There are 2 datasets listed on the AWS Registry of Open Data for [NEX-GDDP-CMIP6](https://registry.opendata.aws/nex-gddp-cmip6/). First, there is an archive of NetCDF files from about 35 different climate models, each supplying historical and predicted values for up to 9 environment variables, daily, from 1950 to 2100. Second, there is an archive of COGs generated from the corresponding NetCDFs to support visualization via dynamic tiling using COGs. COGs are only available for 2 models. The COG archive also includes monthly aggregatations across those models.

## This is a demo subset of NEX-GDDP-CMIP6

VEDA hosts a reference file which includes references to a subset of the NEX-GDDP-CMIP6 data, primarily for demo purposes. With this dataset, we demonstrate a method for visualizing the data without creating any data copies just for visualization.

To prepare this dataset, we used the [kerchunk](https://fsspec.github.io/kerchunk/) python library to create a file - often called a reference file - which is an index of the chunks of the data stored in the original [NetCDF](https://www.unidata.ucar.edu/software/netcdf/) files. This reference file is used by a dynamic tiling library ([titiler-xarray](https://github.com/developmentseed/titiler-xarray)) to create image tiles from the underlying data. The indexes were generated for the near-surface air temperature variable (TAS) for years 1950-2014, the historical extent of the NEX-GDDP-CMIP6 project.

</Prose>
</Block>
Binary file added mock/datasets/cmip6-tas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.