Skip to content

Commit

Permalink
pass MSLPVariableName to SamplePressure (#83)
Browse files Browse the repository at this point in the history
* pass MSLPVariableName to SamplePressure
  • Loading branch information
umma-zannat committed Apr 6, 2020
1 parent a282098 commit c2f9562
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TrackGenerator/TrackGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1753,6 +1753,7 @@ def run(configFile, callback=None):
gridInc = config.geteval('Region', 'GridInc')
gridLimit = config.geteval('Region', 'gridLimit')
mslpFile = config.get('Input', 'MSLPFile')
mslpVar = config.get('Input', 'MSLPVariableName')
seasonSeed = None
trackSeed = None
trackPath = pjoin(outputPath, 'tracks')
Expand Down Expand Up @@ -1803,7 +1804,7 @@ def run(configFile, callback=None):
' for parallel runs!')
sys.exit(1)

mslp = SamplePressure(mslpFile)
mslp = SamplePressure(mslpFile, var=mslpVar)

# Initialise the landfall tracking

Expand Down

0 comments on commit c2f9562

Please sign in to comment.