Skip to content
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions applications/jedi_lfric_tests/rose-meta/jedi_common/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t132"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions applications/jules/rose-meta/lfric-jules/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t48"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions applications/lfric_atm/rose-meta/lfric-lfric_atm/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions applications/ngarch/rose-meta/lfric-ngarch/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions applications/transport/rose-meta/lfric-transport/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
16 changes: 16 additions & 0 deletions interfaces/coupled_interface/rose-meta/coupling/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,19 @@ def upgrade(self, config, meta_config=None):
)

return config, self.reports


class vn30_t214(MacroUpgrade):
"""Upgrade macro for ticket #214 by mark Hedley."""

BEFORE_TAG = "vn3.0_t171"
AFTER_TAG = "vn3.0_t214"

def upgrade(self, config, meta_config=None):
# Commands From: rose-meta/lfric-gungho
"""Set segments configuration to true."""
self.change_setting_value(
config, ["namelist:physics", "configure_segments"], ".true."
)

return config, self.reports
Loading