Skip to content

Commit

Permalink
To come back to once we think of a good approach to implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldenes committed May 28, 2024
1 parent d20d0f4 commit d1d20d4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plasticparcels/constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,14 @@ def create_particleset_from_map(fieldset, settings):

# Load release type information
release_type = settings['release']['initialisation_type'] # TODO: MAKE THIS PART BETTER!

### DEALING WITH GRID vs POINT
if 'release_style' in settings['release'].keys():
release_style = settings['release']['release_style']
else:
release_style = 'point'

### - can we use the fieldset.U.grid? And do the rotations ourself? we have the xi and yi for the grid

release_quantity_names = {
'coastal': 'MPW_Cell',
Expand Down

0 comments on commit d1d20d4

Please sign in to comment.