Skip to content

Looking for LayerThicknessProvis in input file #174

@xylar

Description

@xylar

When I try to read in an InitialState stream with the following yaml spec:

    InitialState:
      UsePointerFile: false
      Filename: init.nc
      Mode: read
      Precision: double
      Freq: 1
      FreqUnits: OnStartup
      UseStartEnd: false
      Contents:
      - Restart

I get:

[* error] [IO.cpp:704] IO::readArray: Error finding varid for variable LayerThicknessProvis
[* error] [IO.cpp:704] IO::readArray: Error finding varid for variable layerThicknessProvis
[* error] [IOStream.cpp:1738] Error reading data array for LayerThicknessProvis in stream InitialState
[* error] [IOStream.cpp:2443] Error reading field data for Field LayerThicknessProvis in Stream InitialState
[* critical] [OceanInit.cpp:182] Error reading the initial state file
[* critical] [OceanInit.cpp:56] ocnInit: Error initializing Omega modules
[* error] [OceanDriver.cpp:28] Error initializing OMEGA
[* info] [Tracers.cpp:249] Tracers::clear() called
[* error] [OceanDriver.cpp:52] OMEGA terminating due to error

I wouldn't have expected LayerThicknessProvis to need to be specified. I would have thought that this should just be LayerThickness.

I am seeing this when I try to run the cosine bell test in E3SM-Project/polaris#242 using Omega built from #169

Full omega.yml is:

Omega:
  TimeIntegration:
    CalendarType: No Leap
    TimeStepper: RungeKutta4
    TimeStep: 0000_00:24:00.000
    StartTime: 0001-01-01_00:00:00
    StopTime: none
    RunDuration: 0024_00:00:00.000
  Dimension:
    NVertLevels: 1
  Decomp:
    HaloWidth: 3
    DecompMethod: MetisKWay
  State:
    NTimeLevels: 2
  Advection:
    FluxThicknessType: Center
    FluxTracerType: Center
  Tendencies:
    ThicknessFluxTendencyEnable: false
    PVTendencyEnable: false
    KETendencyEnable: false
    SSHTendencyEnable: false
    VelDiffTendencyEnable: false
    ViscDel2: 1.0e3
    VelHyperDiffTendencyEnable: false
    ViscDel4: 1.2e11
    TracerHorzAdvTendencyEnable: true
    TracerDiffTendencyEnable: false
    EddyDiff2: 10.0
    TracerHyperDiffTendencyEnable: false
    EddyDiff4: 0.0
  Tracers:
    Base: [Temperature, Salinity]
    Debug: [Debug1, Debug2, Debug3]
  IOStreams:
    # InitialState should only be used when starting from scratch
    # After the simulations initial start, the frequency should be
    # changed to never so that the initial state file is not read.
    InitialState:
      UsePointerFile: false
      Filename: init.nc
      Mode: read
      Precision: double
      Freq: 1
      FreqUnits: OnStartup
      UseStartEnd: false
      Contents:
      - Restart
    History:
      UsePointerFile: false
      Filename: output.nc
      Mode: write
      IfExists: replace
      Precision: double
      Freq: 2073600
      FreqUnits: Seconds
      UseStartEnd: false
      Contents:
      - Tracers

Path is:

/lcrc/group/e3sm/ac.xylar/polaris_0.5/chrysalis/test_20241202/omega_cosine_bell/ocean/spherical/icos/cosine_bell/convergence_both/with_viz/forward/480km_1440s

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions