@@ -74,7 +74,10 @@ class BACI(ExoDataSource):
7474 - The 202501 release only.
7575 - The 1992 Harmonized System (HS92) only.
7676
77- .. todo:: Aggregate to MESSAGE regions.
77+ .. todo::
78+ - Aggregate to MESSAGE regions.
79+ - Test with additional HS categorizations.
80+ - Test with additional releases.
7881 """
7982
8083 @dataclass
@@ -101,6 +104,10 @@ class Options(BaseOptions):
101104 #: in :attr:`dims`; values **must** be regular expressions or compiled
102105 #: :class:`re.Pattern` that fullmatch the :class:`str` representation of labels
103106 #: on the respective dimension.
107+ #:
108+ #: For example, :py:`filter_pattern=dict(k="270(4..|576)")` matches any 6-digit
109+ #: label on the :math:`k` dimension starting with '2704', or the exact label
110+ #: '270576'.
104111 filter_pattern : dict [str , "str | Pattern" ] = field (default_factory = dict )
105112
106113 #: Set to :any:`True` to use test data from the :mod:`message_ix_models`
@@ -129,9 +136,9 @@ def get(self) -> "AnyQuantity":
129136 This method performs the following steps:
130137
131138 1. If needed, retrieve the data archive from :data:`.pooch.SOURCE` using the
132- entry "CEPII_BACI". The file is stored in the :attr:`.Config.cache_dir `, and
139+ entry "CEPII_BACI". The file is stored in the :attr:`.Config.cache_path `, and
133140 is about 2.2 GiB.
134- 2. If needed, extract all the members of the archive to the :file:`cepii-baci`
141+ 2. If needed, extract all the members of the archive to a :file:`…/ cepii-baci/ `
135142 subdirectory of the cache directory. The extracted size is about 7.9 GiB,
136143 containing about 2.6 × 10⁸ observations.
137144 3. Call :func:`.baci_data_from_files` to read the data files and apply
0 commit comments