Skip to content

Latest commit

 

History

History
214 lines (167 loc) · 9.45 KB

roadmap.md

File metadata and controls

214 lines (167 loc) · 9.45 KB

ESGF Roadmap

Neil Massey and Philip Kershaw

06/02/2024

Introduction

We (CEDA) would like to approach the development and roll out of ESGF 2.0 for CMIP7 in an Agile way. This will consist of:

  • Initiatives
  • Sprints
  • A focus on minimal viable products
  • A component working at the end of a sprint
  • Feature lock offs
  • etc.

We are inspired by the data challenges, but want to reformulate them into Agile methodology and only concentrate on what is relevant in 2024. A translation between data challenges and Agile terms:

  • Data challenge == Initiative
  • Outcome of the data challenge == Vision
  • Task == Sprint
  • Steps in each task == Features, which

The development will be Feature led, and lead to a minimal viable product. For each Initiative we need to ask "what is the minimum we have to achieve to realise the Vision for this Initiative?".

We have identified different areas that we believe are important to deliver ESGF, and could be the target for each Initiative.

  • Technical Governance
  • Installation
  • Bulk transfer
  • Publish
  • Search
  • Download
  • User interaction

we can break these down further, identify the output (Vision), decide on the Features for each Sprint and generate task lists (Backlog) for each Sprint which, when accumulated, will produce the Vision for the Initiative.

E1 - Technical Governance

Vision

Determine mandatory principles for working.

Tasks

  • T1.1 Write or adapt the LICENSE that all software will be developed under
  • T1.2 Setup, adapt or collate the software repositories
  • T1.3 Write the versioning, tagging and release specification that all software will be committed and released under
  • T1.4 Assign repository managers and write specifications for code-review and acceptance
  • T1.5 Agree data model for search
  • T1.6 Agree policy for data retractions where data is replicated
  • T1.7 Agree on publication policy changes
    • When in the publication process a version is cut
      • Proposal for time of esgpublish
    • Publisher changes to support versioning, likely schema changes are needed for this.
  • T1.8 Agree on ownership for CV service
  • T1.9 Agree on Citation Service management plan
    • The Citation Service MVP must be funded

Acceptance criteria

E2 - Installation

Vision

The latest version of the software can be easily installed by any ESGF partner.

Tasks

  • T2.1 Update support for podman version of the installation.
    • GFDL have reported that the podman installation works, but there are some issues around container networks and file permissions still to resolve. We'll also need to merge their changes into the main repo.
  • T2.2 Add Rocky 9 as the base for the next version of the images.
    • Will require us to resolve the issue in the gitlab.com pipeline caused by a communication failure with the Rocky RPM server.
  • T2.3 Resolve issues with the CMCC stats service:
    • Debugging CEDA's communication problems with the stats server.
    • Solving the problem where a failure to communicate with the stats server causes the file-server containers to crash.
  • T2.4 Add S3 file system support.
    • This has been done for Kubernetes but needs to be added for the Ansible version of the installation.
    • We will also want to add better support for including a certificate in the file-server container for verifying the S3 connection.
    • ska this strikes me as very low priority. Are any CMIP7 centers requiring S3 for data management?
      • comment SK: DKRZ will use S3 for CMIP7 data management in the future. no short term requirement, but mid term ..

Acceptance criteria

E3 - Bulk transfer

Vision

Data can be transferred between ESGF nodes with excellent performance.

Tasks

  • T3.1 Install Globus at all European nodes.
  • T3.2 Establish source sites for data - which Tier 1 and Tier 2? e.g. NCAR (tier 2) will have source data
  • T3.3 Baseline testing of connectivity intercontinentally US - Europe, Australia - US, etc. ...
  • T3.4 Document how sites are set-up, eg. open CMIP data collections/shares

Acceptance criteria

E4 - Publish

Vision

Data can be ingested into ESGF and made available for search.

Tasks

  • T4.1 Test current pipeline is compatible with CMIP data
    • Existing CMIP6 data
    • CMIP6Plus data coming down the pipe
    • Future CMIP7 data TBD (mid-2025 at earliest for test datasets)
  • T4.2 Test and develop PID and DOI assignment (Nb. PID service is being redeveloped by DKRZ but will have the same API. No commitment to maintain the Citation Service!)
  • T4.3 ES-DOC scanning and ingest (just need a link) (We need clarity about the planned technical solution for CMIP7)
  • T4.4 Errata service for updated data (The errata service needs a collection of files that are being retracted as a consequence of a publisher delete or update operation)
  • T4.5 Revoke data at a single site and over all sites
    • For all sites: confirmation of replica retraction upkeep workflows
      • eg. The LLNL CMIP Inconsistency Checker (CIC)
  • T4.6 Publish a new version at a single site and over all sites
  • T4.7 Adapt publishing pipeline to produce STAC catalogue records and invoke STAC API for write operation to index
    • T4.7.1 ES-DOC ingest (later - already a link in STAC record)
    • T4.7.2 Update data
    • T4.7.3 Revoke data
    • T4.7.4 Publish new version
  • T4.8 Ensure data quality (QC) (currently there is no server-side QC. In the esg-publisher, can do a callout to PrePARE. esgmapfile checks the DRS but is Python 2, needs maintenance)
    • Update PrePARE (PCMDI)
    • Update esgprep for esgmapfile, etc. (IPSL? if not needs an owner or rewrite)
    • Gather additional QC modules
  • T4.9 Replicas - how to manage in search index (ESGF2 proposes simplifying the schema to have multiple endpoints in a single record rather than multiple records, one with each endpoint)
  • T4.10 Modify publisher to accept vocabularies for DRS from a vocabulary service (Nb. This needs a commitment from an institution to write and maintain such a service!)
    • Prototype service
    • Production service and deployment
  • T4.11 Develop a test suite for the publisher (esg-publisher needs test suite)
    • Deploy test suite on infrastructure
      • (note that the data inputs will exceed what can be obtained in a free Github Actions instance and require download time, so the test data needs to be hosted and run at a suitable site)
  • T4.12 Flow integration (what is Flow?)
    • Support CMIP7 publication steps via Flow
    • Support E3SM publication requirements (via Flow)
      • ska - note: E3SM is funded separately and responsible for their own flow
    • Improve error reporting and handling for publication via Flow to provide users visibility
    • Improve error reporting and troubleshooting info for publication via Flow to provide administrator tools
  • T4.13 Create finer-grained authorization layer for permissions for publication
  • T4.14 Push records to Globus Search
  • T4.15 Push records to Elastic Search (STAC)
  • T4.16 Implement workflows
  • T4.17 Add QC checks to workflows
  • T4.18 Open question for ElasticSearch (STAC) ingest: how is access control implemented?

Acceptance criteria

E5 - Search

Vision

A user can search the ESGF catalogue and get the correct result in a timely manner.

Tasks

  • T5.1 Write an example of searching with pystac-client in a notebook. Search a wide space in the catalogue.
  • T5.2 Demonstrate searching with MetaGrid. Show that results for CMIP6 match the current implementation.
  • T5.3 Compatability with legacy search (this is something we might not want to do)
    • T5.3.1 Write an example of searching with esgf-client
  • T5.4 Demonstrate consistency of search between STAC implementation and Globus implementation.
  • T5.5 Harvest: Demonstrate replication between STAC/ES and Globus Search implementations
  • T5.6 Implement STAC API support for Metagrid
  • T5.7 STAC API wrapper on Globus Search
    • For query
    • Ingest
    • Harvest/Replication
  • T5.8 Migrate from solr infrastructure to Globus Search
  • T5.9 Change the ESGF metadata structure to accommodate all three DoE sites in one index

Acceptance criteria

E6 - Download

Vision

A user can download the data they searched for, in a timely manner.

Tasks

  • T6.1 Globus transfer available at dataset level
  • T6.2 Globus transfers can go to any type of collection
  • T6.3 Shopping cart transfers can go to any type of collection
  • T6.4 Upgrade wget API to support Globus Search backend
  • T6.5 Upgrade wget API to support Elasic Search backend (or STAC) ?
  • T6.6 Enhance esgpull to support Globus Transfer
  • T6.7 integrate esgpull with Metagrid
  • T6.8 Retire wget?

Acceptance criteria

E7 - User interaction

Vision

A user can interact with the data they searched for, to transform it into new data.

Tasks

Notebook can be run anywhere as it uses cloud storage

  • T7.1 User can find the data on JASMIN
  • T7.2 User can analyse the data in a Jupyter Notebook on JASMIN
  • T7.3 User can analyse the data on an interactive analysis node on JASMIN
  • T7.4 User can analyse the data on batch compute (LOTUS) on JASMIN
  • T7.5 Enhanced searches on Metagrid (the presumptive GUI platform)
    • Notification (periodic search)
    • Complete variable/experiment set search
  • T7.6 Enhance Metagrid with Jupyter Integration

Acceptance criteria