# ─────────────────────────────────────────────────────────────────────────────
# variables.yaml — Variaveis 2D do modelo (gerado por ctl_to_yaml.py)
# Fonte: Eta03_BESM_202606060020260600_3D.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: ZGEO
    description: "Geopotential height      (m)"
    units: "m"
    cmap: viridis
    vmin: ~
    vmax: ~
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: UVEL
    description: "Zonal wind               (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -20
    vmax: 20
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: VVEL
    description: "Meridional wind          (m/s)"
    units: "m/s"
    cmap: bwr
    vmin: -20
    vmax: 20
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: TEMP
    description: "Temperature              (K)"
    units: "K"
    cmap: RdBu_r
    vmin: 210
    vmax: 310
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [850, 700, 500, 300, 250, 200]

  - name: UMRL
    description: "Relative Humidity        (%)"
    units: "%"
    cmap: YlGnBu
    vmin: 0
    vmax: 100
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: OMEG
    description: "Omega                    (hPa/s)"
    units: "hPa/s"
    cmap: RdBu_r
    vmin: ~
    vmax: ~
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: UMES
    description: "Specific humidity        (kg/kg)"
    units: "kg/kg"
    cmap: RdBu_r
    vmin: ~
    vmax: ~
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]

  - name: PSAT
    description: "Equiv. Pot. Temp.        (K)"
    units: "K"
    cmap: RdBu_r
    vmin: ~
    vmax: ~
    precip: false
    enabled: true
    ndim: 3
    nlev: 22
    levels: [1020, 1000, 950, 925, 900, 850, 800, 750, 700, 650, 600, 550, 500, 450, 400, 350, 300, 250, 200, 150, 100, 50]
    plot_levels: [1020, 1000, 950, 925, 900, 850]
