prsctrl.data.upgrade_data.convert_data#
- convert_data(data_dir: str, out_dir_base: str, from_version=None, to_version=None, write_partials=False, refresh_if_current=False)[source]#
Convert prsdata a newer prsctrl version. :param data_dir: PrsData directory to load the data from :param from_version: The version of the data to convert. Set to None for automatic detection :param to_version: The version of the data to convert. If set to None, convert to latest version :param out_dir_base: The base directory to save the converted data to. A new subdirectory for the data will be created
with the same name as data_dir
- Parameters:
write_partials – Whether to write the PART files