-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This creates a pretty advanced mechanism to configure what manifest should be preloaded on session creation. It can match arrays by name, path or size; and it can create complex conditions using `or` and `and` combinators. By default, we preload manifests that have not more than 1k refs, up to a total of 10k refs, and corresponding to arrays with names matching any of the following regexes: * `\bt\b|(time|min|hour|day|week|month|year)[0-9]*` * `(z|nav_lev|gdep|lv_|[o]*lev|bottom_top|sigma|h(ei)?ght|altitude|depth|isobaric|pres|isotherm)[a-z_]*[0-9]*` * `y|j|nlat|rlat|nj` * `y?(nav_lat|lat|gphi)[a-z0-9]*` * `x?(nav_lon|lon|glam)[a-z0-9]*` * `x|i|nlon|rlon|ni` The regex were taken from: https://github.com/xarray-contrib/cf-xarray/blob/1591ff5ea7664a6bdef24055ef75e242cd5bfc8b/cf_xarray/criteria.py#L149-L160
- Loading branch information
Showing
6 changed files
with
400 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.