Closed sjboeing closed 1 year ago
Currently there's a bug in to what directory the yaml-file which describes how the conversion of forcings is done.
Steps to reproduce:
$> python -m lagtraj.trajectory.create lagtraj://eurec4a_20200202_first_short backward: 100%|█████████████████████████████████████ forward: 100%|████████████████████████████████████ Saved trajectory to `/home/leifdenby/git-repos/lagtraj/data/trajectories/eurec4a_20200202_first_short.nc` $> python -m lagtraj.forcings.create lagtraj://eurec4a_20200202_first_short --conversion lagtraj://dephy 100%|███████████████████████████████ Wrote forcing file to `/home/leifdenby/git-repos/lagtraj/data/forcings/eurec4a_20200202_first_short.nc` Wrote converted forcing file to `/home/leifdenby/git-repos/lagtraj/data/forcings/eurec4a_20200202_first_short.dephy.nc` $> tree data data ├── domains │ ├── eurec4a_circle_data │ │ ├── an_model_2020-02-02.nc │ │ ├── an_single_2020-02-02.nc │ │ ├── fc_model_2020-02-01.nc │ │ ├── fc_model_2020-02-02.nc │ │ ├── fc_single_2020-02-01.nc │ │ ├── fc_single_2020-02-02.nc │ │ └── VERSION │ └── eurec4a_circle.yaml ├── forcings │ ├── eurec4a_20200202_first_short.dephy.nc │ ├── eurec4a_20200202_first_short.nc │ ├── eurec4a_20200202_first_short.yaml │ └── lagtraj: │ └── eurec4a_20200202_first_short.dephy.yaml └── trajectories ├── eurec4a_20200202_first_short.nc └── eurec4a_20200202_first_short.yaml
eurec4a_20200202_first_short.dephy.yaml shouldn't be in forcings/:lagtraj but in forcings/
eurec4a_20200202_first_short.dephy.yaml
forcings/:lagtraj
forcings/
Currently there's a bug in to what directory the yaml-file which describes how the conversion of forcings is done.
Steps to reproduce:
eurec4a_20200202_first_short.dephy.yaml
shouldn't be inforcings/:lagtraj
but inforcings/