Skip to content

Instantly share code, notes, and snippets.

@lakshmanok
Last active January 12, 2022 19:24
Show Gist options
  • Save lakshmanok/4ca65cc25ec9c41ac42f717704968f2a to your computer and use it in GitHub Desktop.
Save lakshmanok/4ca65cc25ec9c41ac42f717704968f2a to your computer and use it in GitHub Desktop.
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[parameters]
client=cds
dataset=reanalysis-era5-single-levels
target_filename=.nc
target_path=gs://YOUR-BUCKET/era5/
append_date_dirs=true
partition_keys=
date
api_url=https://cds.climate.copernicus.eu/api/v2
api_key=YOUR-KEY
[selection]
product_type=reanalysis
format=netcdf
variable=
2m_temperature
total_precipitation
date=2018-01-01/to/2018-12-31
time=
00:00
06:00
12:00
18:00
area=
46
-79
35
-69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment