Skip to content

Commit

Permalink
outgrid_nest not required (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 authored Feb 5, 2024
1 parent 0600464 commit 082bf2f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aiida_flexpart/workflows/multi_dates_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def setup(self):

#others
self.ctx.outgrid = self.inputs.outgrid
self.ctx.outgrid_nest = self.inputs.outgrid_nest
self.ctx.species = self.inputs.species
self.ctx.land_use = self.inputs.land_use

Expand Down Expand Up @@ -277,7 +276,8 @@ def run_cosmo_simulation(self):
}

builder.outgrid = self.ctx.outgrid
builder.outgrid_nest = self.ctx.outgrid_nest
if 'outgrid_nest' in self.inputs:
builder.outgrid_nest = self.inputs.outgrid_nest
builder.species = self.ctx.species
builder.land_use = self.ctx.land_use
builder.meteo_path = self.inputs.meteo_path
Expand Down Expand Up @@ -330,7 +330,8 @@ def run_ifs_simulation(self):
}

builder.outgrid = self.ctx.outgrid
builder.outgrid_nest = self.ctx.outgrid_nest
if 'outgrid_nest' in self.inputs:
builder.outgrid_nest = self.inputs.outgrid_nest
builder.species = self.ctx.species
builder.land_use = self.inputs.land_use_ifs

Expand Down

0 comments on commit 082bf2f

Please sign in to comment.