Skip to content

Commit

Permalink
debugging scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
khufkens committed Aug 19, 2024
1 parent 068c301 commit 7539f4f
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 239 deletions.
24 changes: 0 additions & 24 deletions analysis/debugging.R

This file was deleted.

44 changes: 44 additions & 0 deletions analysis/debugging_cds_beta.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
library(httr)
library(ecmwfr)

request <-
list(
inputs = list(
product_type = 'reanalysis',
variable = 'geopotential',
year = '2024',
month = '03',
day = '01',
time = '13:00',
pressure_level = '1000',
data_format = 'grib'
),
dataset_short_name = 'reanalysis-era5-pressure-levels',
target = 'test.grib'
)

# If you have stored your user login information
# in the keyring by calling cds_set_key you can
# call:
file <- wf_request(
user = "[email protected]", # user ID (for authentification)
request = request, # the request
transfer = TRUE, # download the file
verbose = FALSE,
retry = 10,
path = "./analysis/" # store data in current working directory
)

# ADS CODE
# dataset = 'cams-global-radiative-forcings'
# request = {
# 'variable': ['radiative_forcing_of_carbon_dioxide'],
# 'forcing_type': 'instantaneous',
# 'band': ['long_wave'],
# 'sky_type': ['all_sky'],
# 'level': ['surface'],
# 'version': ['2'],
# 'year': ['2018'],
# 'month': ['06']
# }
# target = 'download.grib'
78 changes: 0 additions & 78 deletions analysis/era5.py

This file was deleted.

46 changes: 0 additions & 46 deletions analysis/test_run_workflow.R

This file was deleted.

91 changes: 0 additions & 91 deletions analysis/test_workflow.R

This file was deleted.

0 comments on commit 7539f4f

Please sign in to comment.