# ─────────────────────────────────────────────────────────────────────────────
# variables.yaml — Variaveis 2D do modelo (gerado por ctl_to_yaml.py)
# Fonte: Eta03_BESM_2026060600+2026060600_2D.ctl
#
# A ORDEM deve coincidir com o arquivo CTL do modelo.
# cmap: colormap matplotlib; 'precip' usa paleta propria
# vmin/vmax: null = escala automatica por percentis
# enabled: false para desativar plot e COG (mantém posicao binaria)
# ─────────────────────────────────────────────────────────────────────────────

variables:

  - name: PSLM
    description: "Mesinger M S L Pressure  (hPa)"
    units: "hPa"
    cmap: RdBu_r
    vmin: 990
    vmax: 1030
    precip: false
    enabled: true

  - name: PSLC
    description: "Surface Pressure         (hPa)"
    units: "hPa"
    cmap: RdBu_r
    vmin: 980
    vmax: 1030
    precip: false
    enabled: true

  - name: TP2M
    description: "Shelter Temperature      (K)"
    units: "K"
    cmap: RdBu_r
    vmin: 268
    vmax: 308
    precip: false
    enabled: true

  - name: MXTP
    description: "Max Temperature          (K)"
    units: "K"
    cmap: hot_r
    vmin: 270
    vmax: 313
    precip: false
    enabled: true

  - name: MNTP
    description: "Min Temperature          (K)"
    units: "K"
    cmap: cool
    vmin: 260
    vmax: 305
    precip: false
    enabled: true

  - name: DP2M
    description: "Shelter Dew Temp.        (K)"
    units: "K"
    cmap: BrBG
    vmin: 260
    vmax: 300
    precip: false
    enabled: true

  - name: US2M
    description: "Shelter Espec. H. 2m     (%)"
    units: "%"
    cmap: YlGnBu
    vmin: 0
    vmax: 100
    precip: false
    enabled: true

  - name: UR2M
    description: "Relative Humidity 2m     (kg/kg)"
    units: "kg/kg"
    cmap: YlGnBu
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: U10M
    description: "U 10m                    (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -20
    vmax: 20
    precip: false
    enabled: true

  - name: V10M
    description: "V 10m                    (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -20
    vmax: 20
    precip: false
    enabled: true

  - name: MAGV
    description: "Wind Magnitude 10M       (m/s)"
    units: "m/s"
    cmap: YlOrRd
    vmin: 0
    vmax: 20
    precip: false
    enabled: true

  - name: U100
    description: "U 100m                   (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -25
    vmax: 25
    precip: false
    enabled: true

  - name: V100
    description: "V 100m                   (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -25
    vmax: 25
    precip: false
    enabled: true

  - name: PREC
    description: "Total  6h Precip.        (m)"
    units: "m"
    cmap: precip
    vmin: 0
    vmax: 50
    precip: true
    enabled: true

  - name: PRCV
    description: "Conv   6h Precip.	   (m)"
    units: "m"
    cmap: precip
    vmin: 0
    vmax: 40
    precip: true
    enabled: true

  - name: PRGE
    description: "Large Scl  6h Prec.	   (m)"
    units: "m"
    cmap: precip
    vmin: 0
    vmax: 20
    precip: true
    enabled: true

  - name: NEVE
    description: "Snowfall 6h		   (m)"
    units: "m"
    cmap: Blues
    vmin: 0
    vmax: 20
    precip: true
    enabled: true

  - name: CLSF
    description: "Time Ave Sfc Lat Ht Flx  ()"
    units: ""
    cmap: RdBu
    vmin: -200
    vmax: 600
    precip: false
    enabled: true

  - name: CSSF
    description: "Time Ave Sfc Sen Ht Flx  ()"
    units: ""
    cmap: RdBu
    vmin: -50
    vmax: 300
    precip: false
    enabled: true

  - name: GHFL
    description: "Time Ave Ground  Ht Flx  ()"
    units: ""
    cmap: coolwarm
    vmin: -50
    vmax: 50
    precip: false
    enabled: true

  - name: TSFC
    description: "Sfc (skin) Temperature   (K)"
    units: "skin"
    cmap: RdBu_r
    vmin: 268
    vmax: 320
    precip: false
    enabled: true

  - name: TSOIL
    description: "Soil Temperature         (K)"
    units: "K"
    cmap: RdBu_r
    vmin: 270
    vmax: 315
    precip: false
    enabled: true

  - name: USOIL
    description: "Soil Moisture            (0-1)"
    units: "0-1"
    cmap: YlGnBu
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: SMAV
    description: "Soil Moisture Avail      ()"
    units: ""
    cmap: YlGnBu
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: RNOF
    description: "Storm Sfc Rnoff 6h       ()"
    units: ""
    cmap: Blues
    vmin: 0
    vmax: ~
    precip: false
    enabled: true

  - name: RNSG
    description: "Storm Sfc Rnoff SG 6h    ()"
    units: ""
    cmap: Blues
    vmin: 0
    vmax: ~
    precip: false
    enabled: true

  - name: USST
    description: "Sfc  U wind Stress	   ()"
    units: ""
    cmap: bwr
    vmin: -0.5
    vmax: 0.5
    precip: false
    enabled: true

  - name: VSST
    description: "Sfc  V wind Stress	   ()"
    units: ""
    cmap: bwr
    vmin: -0.5
    vmax: 0.5
    precip: false
    enabled: true

  - name: LWNV
    description: "Low cloud fraction       ()"
    units: ""
    cmap: Greys
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: MDNV
    description: "Mid cloud fraction       ()"
    units: ""
    cmap: Greys
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: HINV
    description: "High cloud fraction      ()"
    units: ""
    cmap: Greys
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: CLD
    description: "Cloud                    ()"
    units: ""
    cmap: Greys
    vmin: 0
    vmax: 1
    precip: false
    enabled: true

  - name: OCIS
    description: "Ave Incmg Sfc SW Rad     (W/m2)"
    units: "W/m2"
    cmap: YlOrRd
    vmin: 0
    vmax: 900
    precip: false
    enabled: true

  - name: OLIS
    description: "Ave Incmg Sfc LW Rad     (W/m2)"
    units: "W/m2"
    cmap: inferno
    vmin: 200
    vmax: 450
    precip: false
    enabled: true

  - name: OCES
    description: "Ave Outgo Sfc SW Rad     (W/m2)"
    units: "W/m2"
    cmap: YlOrRd
    vmin: 0
    vmax: 200
    precip: false
    enabled: true

  - name: OLES
    description: "Ave Outgo Sfc LW Rad     (W/m2)"
    units: "W/m2"
    cmap: inferno
    vmin: 200
    vmax: 450
    precip: false
    enabled: true

  - name: ROCE
    description: "Ave Outgo TOA SW Rad     (W/m2)"
    units: "W/m2"
    cmap: YlOrRd
    vmin: 0
    vmax: 500
    precip: false
    enabled: true

  - name: ROLE
    description: "Ave Outgo TOA LW Rad     (W/m2)"
    units: "W/m2"
    cmap: inferno
    vmin: 150
    vmax: 300
    precip: false
    enabled: true

  - name: ALBE
    description: "Albedo                   ()"
    units: ""
    cmap: YlGn
    vmin: 0
    vmax: 0.8
    precip: false
    enabled: true

  - name: CAPE
    description: "CAPE                     (W/m2)"
    units: "W/m2"
    cmap: hot_r
    vmin: 0
    vmax: 3000
    precip: false
    enabled: true

  - name: AGPL
    description: "PRECIPITABLE WATER       (W/m2)"
    units: "W/m2"
    cmap: YlGnBu
    vmin: 0
    vmax: 60
    precip: false
    enabled: true

  - name: QUINT
    description: "VERT INTGRTD Q x U       (W/m2)"
    units: "W/m2"
    cmap: bwr
    vmin: -300
    vmax: 300
    precip: false
    enabled: true

  - name: QVINT
    description: "VERT INTGRTD Q x V       (W/m2)"
    units: "W/m2"
    cmap: bwr
    vmin: -300
    vmax: 300
    precip: false
    enabled: true

  - name: CWINT
    description: "VERT INTG CLOUD WATER    (kg/kg)"
    units: "kg/kg"
    cmap: Blues
    vmin: 0
    vmax: 0.5
    precip: false
    enabled: true

  - name: CIINT
    description: "VERT INTG CLOUD ICE      (kg/kg)"
    units: "kg/kg"
    cmap: Purples
    vmin: 0
    vmax: 0.3
    precip: false
    enabled: true

  - name: HPBL
    description: "Plan Bound Lyr Height    (m)"
    units: "m"
    cmap: YlOrRd
    vmin: 0
    vmax: 3000
    precip: false
    enabled: true
