What if you meet the error “The database looks old. Contact to the developer.”

The error “The database looks old. Contact to the developer” is because you refer to the old database of IMA. (Both MEX and VEX)

Try the following steps.

1. Edit the ${HOME}/.irfpyrc (or ${HOME}/irfpy.rc) file. In the [mima] and [vima] section, specify the imamatbase entry to the "imadata-full" directory.

Concretely speaking, try

[mima]
imamatbase = /Volumes/scidata/data/mars/imadata-full/
...

[vima]
imamatbase = /Volumes/scidata/data/venus/imadata-full/
...
  1. Get the “imadata-full” data files if you do not have that. (Contact to Futaana.)

Tip

The way to check if the setting is correct is to use the following codes.

>>> from irfpy.util.irfpyrc import Rc
>>> rc = Rc()
>>> print(rc.get('mima', 'imamatbase'))
/Volumes/scidata/data/mars/imadata-full/
>>> print(rc.get('vima', 'imamatbase'))
/Volumes/scidata/data/venus/imadata-full/