Skip to content

Commit

Permalink
PR review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alicebarthel committed Sep 11, 2024
1 parent f8fc54c commit 21ae417
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions mpas_analysis/__main__.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ def build_analysis_list(config, controlConfig):
analyses.append(ocean.WoceTransects(config, oceanClimatologyTasks['avg'],
controlConfig))

analyses.append(ocean.OsnapTransects(config, oceanClimatolgyTasks['avg'],
analyses.append(ocean.OsnapTransects(config, oceanClimatologyTasks['avg'],
controlConfig))

analyses.append(ocean.SoseTransects(config, oceanClimatolgyTasks['avg'],
analyses.append(ocean.SoseTransects(config, oceanClimatologyTasks['avg'],
controlConfig))

analyses.append(ocean.GeojsonTransects(config,
Expand Down
4 changes: 2 additions & 2 deletions mpas_analysis/default.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3018,7 +3018,7 @@ renormalizationThreshold = 0.01


[osnapTemperatureTransects]
## options related to plotting WOCE transects of potential temperature
## options related to plotting OSNAP transects of potential temperature

# colormap for model/observations
colormapNameResult = RdYlBu_r
Expand Down Expand Up @@ -3057,7 +3057,7 @@ normArgsDifference = {'vmin': -2.0, 'vmax': 2.0}
contourLevelsDifference = np.arange(-1.8, 2.0, 0.4)

[osnapSalinityTransects]
## options related to plotting WOCE transects of salinity
## options related to plotting OSNAP transects of salinity

# colormap for model/observations
colormapNameResult = haline
Expand Down
4 changes: 4 additions & 0 deletions mpas_analysis/obs/observational_datasets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,11 @@
ocean
</component>
<description>
<<<<<<< HEAD
OSNAP is designed to provide a continuous record of the full-water
=======
OSNAP was designed to provide a continuous record of the full-water
>>>>>>> 300a3f1b (PR review changes)
column, trans-basin fluxes of heat, mass and freshwater in the subpolar
North Atlantic. It consists of two legs: one extending from southern
Labrador to the southwestern tip of Greenland across the mouth of the
Expand Down
6 changes: 2 additions & 4 deletions mpas_analysis/ocean/osnap_transects.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

from mpas_analysis.shared.io.utility import build_obs_path

from collections import OrderedDict


class OsnapTransects(AnalysisTask):
"""
Expand All @@ -42,12 +40,12 @@ def __init__(self, config, mpasClimatologyTask, controlConfig=None):
The task that produced the climatology to be remapped and plotted
as a transect
controlconfig : mpas_tools.config.MpasConfigParser, optional
controlConfig : mpas_tools.config.MpasConfigParser, optional
Configuration options for a control run (if any)
"""
# Authors
# -------
# Xylar Asay-Davis
# Alice Barthel

tags = ['climatology', 'transect', 'osnap', 'publicObs', 'arctic']

Expand Down

0 comments on commit 21ae417

Please sign in to comment.