ciceroOslo / ciceroscm

Python version of the CICERO-SCM simple climate model/emulator
Apache License 2.0
17 stars 4 forks source link

Running for different nyend #29

Closed GlenPetersCICERO closed 2 years ago

GlenPetersCICERO commented 2 years ago

When I change nyend to a year other than 2100 (eg 2000 or 2500), the file crashes on the natural emissions files.

The error, from Matlab reporting Python error, writes:

Error using concentrations_emissions_handler>init (line 181) Python Error: ValueError: cannot copy sequence with size 18024 to array axis with dimension 8424 Error in ciceroscm>_run (line 260) ce_handler = ConcentrationsEmissionsHandler(cfg, pamset_emiconc,)

maritsandstad commented 2 years ago

Solved in commit 2f84ede90f6d7c562ec4f32f605ae3e75388c175