Skip to content

titiler-pgstac and titiler-xarray code profiling using CMIP6 Daily TAS on AWS PDS #5

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

Closed
14 of 15 tasks
abarciauskas-bgse opened this issue May 23, 2023 · 1 comment
Closed
14 of 15 tasks
Labels

Comments

@abarciauskas-bgse
Copy link
Contributor

abarciauskas-bgse commented May 23, 2023

Execution of the work described in stac-utils/titiler-pgstac#97, specifically stac-utils/titiler-pgstac#97 (comment), copying most content that discussion.

Description

We would like to compare performance of tiling the same dataset using titiler-pgstac (COGs) and titiler-xarray (Zarr)

We believe this is the best approximation of comparing tiling between the two approaches because of the following methodology:

  1. Assume you are starting with a known collection
  2. Metadata read step
    a. For COG: you register a query with pgstac for the collection id, variable and time step of interest
    b. For Zarr: You read consolidated metadata and "lazily load" the variable and time step (slice) of interest
    c. For now - I'm going to store both of these metadata components (pgstac and kerchunk reference) locally, but it might be of interest to move pgSTAC and kerchunk to the cloud...
  3. Generate tiles
    a. COG: use mosaic ID to read chunks from COGs on S3
    b. Zarr: Use zarr metadata to read chunks from NetCDFs or Zarrs on S3

There is a public archive of COGs generated for CMIP6 for a VEDA related dashboard, using NetCDFs we have stored in S3 as well. There is a public archive is here: https://nex-gddp-cmip6-cog.s3.us-west-2.amazonaws.com/ and we have the original NetCDFs in S3 as well. So we can:

For titiler-pgstac:

For titiler-xarray

For both:

@abarciauskas-bgse abarciauskas-bgse changed the title Profile tiling using mosaics and COGs with titiler-pgSTAC titiler-pgstac profiling using mosaics + COGs May 23, 2023
@abarciauskas-bgse abarciauskas-bgse changed the title titiler-pgstac profiling using mosaics + COGs titiler-pgstac profiling using mosaics + COGs (CMIP6 Monthly TAS on AWS PDS) May 23, 2023
@abarciauskas-bgse abarciauskas-bgse changed the title titiler-pgstac profiling using mosaics + COGs (CMIP6 Monthly TAS on AWS PDS) titiler-pgstac and titiler-xarray code profiling using CMIP6 Monthly TAS on AWS PDS May 23, 2023
@abarciauskas-bgse abarciauskas-bgse changed the title titiler-pgstac and titiler-xarray code profiling using CMIP6 Monthly TAS on AWS PDS titiler-pgstac and titiler-xarray code profiling using CMIP6 Daily TAS on AWS PDS Jun 20, 2023
@abarciauskas-bgse
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant