Skip to content

Commit

Permalink
params relocation (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 authored Jun 6, 2024
1 parent 64033ed commit 19a8e4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions aiida_flexpart/calculations/collect_sens.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
from pathlib import Path
from aiida import orm, common, engine
import yaml
import importlib

with open(Path.home() / 'work/aiida-flexpart/config/params.yaml', 'r') as fp:
params_dict = yaml.safe_load(fp)
with importlib.resources.path('aiida_flexpart.templates', "params.yaml") as p:
with open(p, 'r') as fp:
params_dict = yaml.safe_load(fp)

cosmo_models = ['cosmo7', 'cosmo1', 'kenda1']
ECMWF_models = ['IFS_GL_05', 'IFS_GL_1', 'IFS_EU_02', 'IFS_EU_01']
Expand Down
File renamed without changes.

0 comments on commit 19a8e4c

Please sign in to comment.