v1.1.1
This is the v1.1.1 release of the PRISM package.
New additions include:
- A new (experimental) backup system to be used in the
ModelLink.call_model()-method, where the user can make backups of the progress made in this method in case anything goes wrong, with the_make_backup()-method.
This backup can then be read back out again with the_read_backup()-method; - The data_idx parts are now first sorted on their index before being put together.
This avoids putting them in the incorrect order if a data_idx consists out of more than 10 parts; - The
test_subclass()function now additionally checks if thecall_model()andget_md_var()-methods take the correct input arguments and takes no other non-optional arguments; - The PRISM logging system has been changed such that only PRISM processes will log to the corresponding logging file.
All other logging messages will be handled as default (either set by the user or as root); - Added more information about running pytests on PRISM;
- Made many Python3-only improvements to the code, including keyword-only arguments and iterable parsing;
- PRISM now automatically emits a warning when the user tries to load an emulator made with v1.0.x, as compatibility with such a version is not guaranteed;
- The projections now use normalized grids for their interpolations.
This speeds up the interpolation processes significantly, while also avoiding any interpolation errors caused by big difference in parameter ranges; - The default value of the 'criterion' parameter is now set to None.