# ICON
#
# ---------------------------------------------------------------
# Copyright (C) 2004-2026, DWD, MPI-M, DKRZ, KIT, ETH, MeteoSwiss
# Contact information: icon-model.org
# See AUTHORS.TXT for a list of authors
# See LICENSES/ for license information
# SPDX-License-Identifier: BSD-3-Clause
# ---------------------------------------------------------------

# ---------------------------------------------------------------------------
# Retrieve IFS analysis data for comparison to ICON
# ---------------------------------------------------------------------------

# --- surface level data

retrieve,
  time    = 00,
  date    = 20120601/to/20120701,
  stream  = oper,
  step    = 24,
  levtype = sfc,
  expver  = 1,
  class   = od,
  type    = fc,
  param   = TCWV/TCLW/TCIW/TCC/10U/10V/2T/CP/LSP/TP/SSTK/SD/RSN/SKT/SSR/STR/TSR/TTR/SLHF/SSHF,
  grid    = 1/1,
  target  = "/scratch/ms/de/deia/ifs_data/ifs_oper_1x1_20120601-0701.sfc.grb"
 #target  = "/e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.sfc.grb"

# --- pressure level data

#retrieve,
#  time	  = 00,
#  date	  = 20120601/to/20120701,
#  stream  = oper,
#  levtype = pl,
#  expver  = 1,
#  class	  = od,
#  type    = an,
#  param	  = T/Q/R/U/V/Z,
#  levelist= 1/2/3/5/7/10/20/30/50/70/100/150/200/250/300/400/500/600/700/800/850/900/925/950/1000,
#  grid    = 1/1,
#  target  = "/scratch/ms/de/deia/ifs_data/ifs_oper_1x1_20120601-0701.[param].pl.grb"
# #target  = "/e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.[param].pl.grb"

# --- cloud variables on model levels for later interpolation on pressure levels
# --- (using cdo ml2pl)

# retrieve,
#   time     = 00,
#   date     = 20120601/to/20120701,
#   stream   = oper,
#   levtype  = ml,
#   expver   = 1,
#   class    = od,
#   type     = an,
#   param    = CC,
#   levelist = 1/TO/91,
#   grid     = 1/1,
#   target   = "/e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.CC.ml.grb"
# retrieve,
#   param    = lnsp/z,
#   levelist = 1
# retrieve,
#   param    = QL,
#   target   = "/e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.QL.ml.grb"
# retrieve,
#   param    = lnsp/z,
#   levelist = 1
# retrieve,
#   param    = QI,
#   target   = "/e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.QI.ml.grb"
# retrieve,
#   param    = lnsp/z,
#   levelist = 1


#scp /e/uwork/mkoehler/icon/ifs.data/ifs_oper_2x2_20110101-20.sfc.grb \
#  oflxs04:/uwork1/mkoehler/ifs.data/oper
