Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

A pangeo-smithy repository for the terraclimate dataset.

License

Notifications You must be signed in to change notification settings

pangeo-forge/terraclimate-feedstock-archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraclimate-feedstock

A pangeo-smithy repository for the terraclimate dataset.

Notes

  1. Who does what?

Ideally we cleanly separate the two concerns

  1. recipe writer: details about how to e/t/l the data.
  2. pangeo-forge: details about how to execute the flow.
  • environment.
  • storage.
  • CLI to register, execute flows.
  1. Execution environment?

Reproducibility argues for a Docker image. You could in theory run this anywhere.

-----------

Merge notes from other

  1. Add a ServiceAccount

This needs to have read / write access to pangeo-forge-scratch (like pangeo) and have the ability to start / stop pods for dask-kubernetes. We don't want to give the pangeo SA permissions to read / write, so we'll make a new one.

$ kubectl apply -f daskkubernetes.yaml
serviceaccount/pangeo-forge created
role.rbac.authorization.k8s.io/pangeo-forge created
rolebinding.rbac.authorization.k8s.io/pangeo-forge created
  1. Create a GSA
$ gcloud iam service-accounts create pangeo-forge --display-name=pangeo-forge --description="GSA for pangeo-forge. Grant read / write access to gcs://pangeo-forge-scratch."
Created service account [pangeo-forge].
$ gcloud iam service-accounts add-iam-policy-binding \
  --role roles/iam.workloadIdentityUser \
    --member "serviceAccount:pangeo-181919.svc.id.goog[staging/pangeo-forge]" \
      pangeo-forge@pangeo-181919.iam.gserviceaccount.com
Updated IAM policy for serviceAccount [pangeo-forge@pangeo-181919.iam.gserviceaccount.com].
bindings:
- members:
  - serviceAccount:pangeo-181919.svc.id.goog[staging/pangeo-forge]
  role: roles/iam.workloadIdentityUser
etag: BwWuWOjv5tg=
version: 1

About

A pangeo-smithy repository for the terraclimate dataset.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •