Skip to content

Add input parameter to frontBackNEW swashSimSetup #44

@l-szczyrba

Description

@l-szczyrba

# begin by setting up input parameters

frontback - frontBackNEW - V2 - function: swashSimSetup
Add:
grid = inputDict['modelSettings'].get('grid', '1D')
to input parameters and add grid = grid to 162-163:
wavepacket = prepdata.prep_spec_phaseResolved(rawspec, version_prefix, grid=grid, runDuration=runtime, nf=nf,
waveTimeList=DT.datetime.strptime(wrr.dateString, wrr.dateStringFmt))
Otherwise wavepacket returns none because version_prefix must equal base AND grid must equal 1D for prep_spec_phaseResolved to prep a SWASH wavepacket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions