Warning: Permanently added '34.229.47.82' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/8962239-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 1.3 PID: 43935 Logging PID: 43936 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 8962239, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'fd87dd2cf5a83ba609cdb42dd8eaafecb2b352a1', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/setuptools-78.1.1/python-xbout', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-xbout', 'package_version': '0.3.6-5', 'project_dirname': 'setuptools-78.1.1', 'project_name': 'setuptools-78.1.1', 'project_owner': 'thrnciar', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/thrnciar/setuptools-78.1.1/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'thrnciar/setuptools-78.1.1--thrnciar', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 0, 'submitter': 'thrnciar', 'tags': [], 'task_id': '8962239-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/thrnciar/setuptools-78.1.1/python-xbout /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/thrnciar/setuptools-78.1.1/python-xbout', '/var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout'... Running: git checkout fd87dd2cf5a83ba609cdb42dd8eaafecb2b352a1 -- cmd: ['git', 'checkout', 'fd87dd2cf5a83ba609cdb42dd8eaafecb2b352a1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout rc: 0 stdout: stderr: Note: switching to 'fd87dd2cf5a83ba609cdb42dd8eaafecb2b352a1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at fd87dd2 automatic import of python-xbout Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading xbout-0.3.6.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o xbout-0.3.6.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/thrnciar/setuptools-78.1.1/python-xbout/xbout-0.3.6.tar.gz/md5/f4970400bb7c6d2380b222c0bb98302a/xbout-0.3.6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4692k 100 4692k 0 0 17.2M 0 --:--:-- --:--:-- --:--:-- 17.2M INFO: Reading stdout from command: md5sum xbout-0.3.6.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout/python-xbout.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1745510928.265359 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.1 starting (python version = 3.13.0, NVR = mock-6.1-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout/python-xbout.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1745510928.265359 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout/python-xbout.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.1 INFO: Mock Version: 6.1 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1745510928.265359/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Tagging container image as mock-bootstrap-221f5c07-197e-4cb9-bccf-106c21a3c7ae INFO: Checking that 9a1106aecd437d71a43aaa67cc56c9c0c84bc71077d20aeceb796a07dda8d0f5 image matches host's architecture INFO: Copy content of container 9a1106aecd437d71a43aaa67cc56c9c0c84bc71077d20aeceb796a07dda8d0f5 to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1745510928.265359/root INFO: mounting 9a1106aecd437d71a43aaa67cc56c9c0c84bc71077d20aeceb796a07dda8d0f5 with podman image mount INFO: image 9a1106aecd437d71a43aaa67cc56c9c0c84bc71077d20aeceb796a07dda8d0f5 as /var/lib/containers/storage/overlay/ddf1929577480a092fb3f165c37ab3b746c8e601a68f8e2827267a2c1cfb3acb/merged INFO: umounting image 9a1106aecd437d71a43aaa67cc56c9c0c84bc71077d20aeceb796a07dda8d0f5 (/var/lib/containers/storage/overlay/ddf1929577480a092fb3f165c37ab3b746c8e601a68f8e2827267a2c1cfb3acb/merged) with podman image umount INFO: Removing image mock-bootstrap-221f5c07-197e-4cb9-bccf-106c21a3c7ae INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-3.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.0-1.fc43.x86_64 dnf5-plugins-5.2.13.0-1.fc43.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 189.9 KiB/s | 11.6 KiB | 00m00s Copr repository 100% | 66.8 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 60.5 MiB/s | 4.1 MiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 5.2.37-3.fc43 fedora 8.2 MiB bzip2 x86_64 1.0.8-20.fc42 fedora 99.3 KiB coreutils x86_64 9.7-1.fc43 fedora 5.4 MiB cpio x86_64 2.15-2.fc41 fedora 1.1 MiB diffutils x86_64 3.12-1.fc43 fedora 1.6 MiB fedora-release-common noarch 43-0.15 fedora 20.4 KiB findutils x86_64 1:4.10.0-5.fc42 fedora 1.9 MiB gawk x86_64 5.3.2-1.fc43 fedora 1.8 MiB glibc-minimal-langpack x86_64 2.41.9000-10.fc43 fedora 0.0 B grep x86_64 3.12-1.fc43 fedora 1.0 MiB gzip x86_64 1.13-3.fc42 fedora 392.9 KiB info x86_64 7.2-3.fc42 fedora 357.9 KiB patch x86_64 2.8-1.fc43 fedora 226.8 KiB redhat-rpm-config noarch 343-4.fc43 fedora 185.6 KiB rpm-build x86_64 5.99.90-3.fc43 fedora 269.5 KiB sed x86_64 4.9-4.fc42 fedora 857.3 KiB shadow-utils x86_64 2:4.17.4-1.fc43 fedora 4.0 MiB tar x86_64 2:1.35-5.fc42 fedora 3.0 MiB unzip x86_64 6.0-66.fc42 fedora 390.3 KiB util-linux x86_64 2.40.4-7.fc43 fedora 3.4 MiB which x86_64 2.23-1.fc42 fedora 83.4 KiB xz x86_64 1:5.8.1-1.fc43 fedora 1.3 MiB Installing dependencies: add-determinism x86_64 0.6.0-1.fc43 fedora 2.5 MiB alternatives x86_64 1.32-1.fc43 fedora 62.2 KiB ansible-srpm-macros noarch 1-17.1.fc42 fedora 35.7 KiB audit-libs x86_64 4.0.3-2.fc42 fedora 351.3 KiB binutils x86_64 2.44-3.fc43 fedora 25.9 MiB build-reproducibility-srpm-macros noarch 0.6.0-1.fc43 fedora 735.0 B bzip2-libs x86_64 1.0.8-20.fc42 fedora 84.6 KiB ca-certificates noarch 2024.2.69_v8.0.401-5.fc42 fedora 2.6 MiB coreutils-common x86_64 9.7-1.fc43 fedora 11.3 MiB crypto-policies noarch 20250402-2.git86c0178.fc43 fedora 141.5 KiB curl x86_64 8.13.0-1.fc43 copr_base 461.0 KiB cyrus-sasl-lib x86_64 2.1.28-30.fc42 fedora 2.3 MiB debugedit x86_64 5.1-6.fc43 fedora 192.7 KiB dwz x86_64 0.15-9.fc42 fedora 291.0 KiB ed x86_64 1.21-2.fc42 fedora 146.5 KiB efi-srpm-macros noarch 6-3.fc43 fedora 40.1 KiB elfutils x86_64 0.192-8.fc42 fedora 2.7 MiB elfutils-debuginfod-client x86_64 0.192-8.fc42 fedora 83.9 KiB elfutils-default-yama-scope noarch 0.192-8.fc42 fedora 1.8 KiB elfutils-libelf x86_64 0.192-8.fc42 fedora 1.2 MiB elfutils-libs x86_64 0.192-8.fc42 fedora 675.0 KiB fedora-gpg-keys noarch 43-0.1 fedora 128.2 KiB fedora-release noarch 43-0.15 fedora 0.0 B fedora-release-identity-basic noarch 43-0.15 fedora 664.0 B fedora-repos noarch 43-0.1 fedora 4.9 KiB fedora-repos-rawhide noarch 43-0.1 fedora 2.2 KiB file x86_64 5.46-1.fc43 copr_base 100.2 KiB file-libs x86_64 5.46-1.fc43 copr_base 11.9 MiB filesystem x86_64 3.18-40.fc43 fedora 112.0 B filesystem-srpm-macros noarch 3.18-40.fc43 fedora 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-21.fc42 fedora 55.8 KiB forge-srpm-macros noarch 0.4.0-2.fc42 fedora 38.9 KiB fpc-srpm-macros noarch 1.3-14.fc42 fedora 144.0 B gdb-minimal x86_64 16.2-3.fc43 fedora 13.3 MiB gdbm-libs x86_64 1:1.23-9.fc42 fedora 129.9 KiB ghc-srpm-macros noarch 1.9.2-2.fc42 fedora 779.0 B glibc x86_64 2.41.9000-10.fc43 fedora 6.7 MiB glibc-common x86_64 2.41.9000-10.fc43 fedora 1.0 MiB glibc-gconv-extra x86_64 2.41.9000-10.fc43 fedora 7.2 MiB gmp x86_64 1:6.3.0-3.fc43 fedora 819.2 KiB gnat-srpm-macros noarch 6-7.fc42 fedora 1.0 KiB gnupg2 x86_64 2.4.7-3.fc43 copr_base 9.8 MiB gnutls x86_64 3.8.9-7.fc43 copr_base 3.6 MiB go-srpm-macros noarch 3.6.0-7.fc43 fedora 60.8 KiB ima-evm-utils-libs x86_64 1.6.2-5.fc43 fedora 60.7 KiB jansson x86_64 2.14-2.fc42 fedora 93.1 KiB json-c x86_64 0.18-2.fc42 fedora 86.7 KiB kernel-srpm-macros noarch 1.0-25.fc42 fedora 1.9 KiB keyutils-libs x86_64 1.6.3-5.fc42 fedora 58.3 KiB krb5-libs x86_64 1.21.3-5.fc42 fedora 2.3 MiB libacl x86_64 2.3.2-3.fc42 fedora 38.3 KiB libarchive x86_64 3.7.7-4.fc43 fedora 930.6 KiB libassuan x86_64 2.5.7-3.fc42 fedora 167.8 KiB libattr x86_64 2.5.2-5.fc42 fedora 27.1 KiB libblkid x86_64 2.40.4-7.fc43 fedora 262.4 KiB libbrotli x86_64 1.1.0-6.fc43 copr_base 833.3 KiB libcap x86_64 2.76-1.fc43 fedora 209.2 KiB libcap-ng x86_64 0.8.5-4.fc42 fedora 72.9 KiB libcom_err x86_64 1.47.2-3.fc42 fedora 67.1 KiB libcurl x86_64 8.13.0-1.fc43 copr_base 874.5 KiB libeconf x86_64 0.7.6-1.fc43 fedora 64.6 KiB libevent x86_64 2.1.12-15.fc42 fedora 903.1 KiB libfdisk x86_64 2.40.4-7.fc43 fedora 372.3 KiB libffi x86_64 3.4.7-4.fc43 fedora 82.6 KiB libfsverity x86_64 1.6-2.fc42 fedora 32.5 KiB libgcc x86_64 15.0.1-0.14.fc43 fedora 266.6 KiB libgcrypt x86_64 1.11.0-5.fc42 fedora 1.6 MiB libgomp x86_64 15.0.1-0.14.fc43 fedora 538.5 KiB libgpg-error x86_64 1.54-1.fc43 fedora 914.7 KiB libidn2 x86_64 2.3.8-1.fc43 fedora 552.5 KiB libksba x86_64 1.6.7-3.fc42 fedora 402.5 KiB libmount x86_64 2.40.4-7.fc43 fedora 356.2 KiB libnghttp2 x86_64 1.65.0-1.fc43 fedora 162.2 KiB libpkgconf x86_64 2.3.0-2.fc42 fedora 78.1 KiB libpsl x86_64 0.21.5-5.fc42 fedora 76.4 KiB libselinux x86_64 3.8-1.fc43 copr_base 193.1 KiB libsemanage x86_64 3.8-1.fc43 copr_base 304.4 KiB libsepol x86_64 3.8-1.fc42 fedora 826.0 KiB libsmartcols x86_64 2.40.4-7.fc43 fedora 180.4 KiB libssh x86_64 0.11.1-4.fc42 fedora 565.5 KiB libssh-config noarch 0.11.1-4.fc42 fedora 277.0 B libstdc++ x86_64 15.0.1-0.14.fc43 fedora 2.8 MiB libtasn1 x86_64 4.20.0-1.fc43 fedora 176.3 KiB libtool-ltdl x86_64 2.5.4-4.fc42 fedora 70.1 KiB libunistring x86_64 1.1-9.fc42 fedora 1.7 MiB libusb1 x86_64 1.0.28-2.fc43 fedora 171.0 KiB libuuid x86_64 2.40.4-7.fc43 fedora 37.3 KiB libverto x86_64 0.3.2-10.fc42 fedora 25.4 KiB libxcrypt x86_64 4.4.38-7.fc43 fedora 284.5 KiB libxml2 x86_64 2.12.10-1.fc43 fedora 1.7 MiB libzstd x86_64 1.5.7-1.fc43 fedora 807.8 KiB lua-libs x86_64 5.4.7-3.fc43 fedora 276.9 KiB lua-srpm-macros noarch 1-15.fc42 fedora 1.3 KiB lz4-libs x86_64 1.10.0-2.fc43 copr_base 161.4 KiB mpfr x86_64 4.2.2-1.fc43 fedora 828.8 KiB ncurses-base noarch 6.5-5.20250125.fc42 fedora 326.8 KiB ncurses-libs x86_64 6.5-5.20250125.fc42 fedora 946.3 KiB nettle x86_64 3.10.1-1.fc43 fedora 790.5 KiB npth x86_64 1.8-2.fc42 fedora 49.6 KiB ocaml-srpm-macros noarch 10-4.fc42 fedora 1.9 KiB openblas-srpm-macros noarch 2-19.fc42 fedora 112.0 B openldap x86_64 2.6.9-5.fc43 fedora 655.1 KiB openssl-libs x86_64 1:3.5.0-3.fc43 fedora 8.9 MiB p11-kit x86_64 0.25.5-5.fc42 fedora 2.2 MiB p11-kit-trust x86_64 0.25.5-5.fc42 fedora 395.5 KiB package-notes-srpm-macros noarch 0.5-13.fc42 fedora 1.6 KiB pam-libs x86_64 1.7.0-5.fc43 copr_base 126.7 KiB pcre2 x86_64 10.45-1.fc43 fedora 697.7 KiB pcre2-syntax noarch 10.45-1.fc43 fedora 273.9 KiB perl-srpm-macros noarch 1-57.fc42 fedora 861.0 B pkgconf x86_64 2.3.0-2.fc42 fedora 88.5 KiB pkgconf-m4 noarch 2.3.0-2.fc42 fedora 14.4 KiB pkgconf-pkg-config x86_64 2.3.0-2.fc42 fedora 989.0 B popt x86_64 1.19-8.fc42 fedora 132.8 KiB publicsuffix-list-dafsa noarch 20250116-1.fc42 fedora 68.5 KiB pyproject-srpm-macros noarch 1.18.1-1.fc43 copr_base 1.9 KiB python-srpm-macros noarch 3.13-5.fc43 fedora 51.7 KiB qt5-srpm-macros noarch 5.15.16-1.fc43 fedora 500.0 B qt6-srpm-macros noarch 6.9.0-2.fc43 fedora 464.0 B readline x86_64 8.2-13.fc43 fedora 485.0 KiB rpm x86_64 5.99.90-3.fc43 fedora 3.1 MiB rpm-build-libs x86_64 5.99.90-3.fc43 fedora 268.4 KiB rpm-libs x86_64 5.99.90-3.fc43 fedora 921.6 KiB rpm-sequoia x86_64 1.8.0-1.fc43 fedora 2.5 MiB rpm-sign-libs x86_64 5.99.90-3.fc43 fedora 39.7 KiB rust-srpm-macros noarch 26.3-4.fc42 fedora 4.8 KiB setup noarch 2.15.0-23.fc43 fedora 724.7 KiB sqlite-libs x86_64 3.49.0-1.fc43 fedora 1.5 MiB systemd-libs x86_64 257.5-2.fc43 fedora 2.2 MiB systemd-standalone-sysusers x86_64 257.5-2.fc43 fedora 277.3 KiB tpm2-tss x86_64 4.1.3-7.fc43 fedora 1.6 MiB tree-sitter-srpm-macros noarch 0.2.4-1.fc43 fedora 7.5 KiB util-linux-core x86_64 2.40.4-7.fc43 fedora 1.4 MiB xxhash-libs x86_64 0.8.3-2.fc42 fedora 90.2 KiB xz-libs x86_64 1:5.8.1-1.fc43 fedora 217.8 KiB zig-srpm-macros noarch 1-4.fc42 fedora 1.1 KiB zip x86_64 3.0-43.fc42 fedora 698.5 KiB zlib-ng-compat x86_64 2.2.4-2.fc43 fedora 137.6 KiB zstd x86_64 1.5.7-1.fc43 fedora 1.7 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 161 packages Total size of inbound packages is 59 MiB. Need to download 0 B. After this operation, 197 MiB extra will be used (install 197 MiB, remove 0 B). [ 1/161] tar-2:1.35-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/161] bzip2-0:1.0.8-20.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/161] redhat-rpm-config-0:343-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/161] rpm-build-0:5.99.90-3.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/161] unzip-0:6.0-66.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/161] cpio-0:2.15-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/161] which-0:2.23-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/161] bash-0:5.2.37-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/161] coreutils-0:9.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/161] grep-0:3.12-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/161] patch-0:2.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/161] sed-0:4.9-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/161] shadow-utils-2:4.17.4-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/161] diffutils-0:3.12-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/161] fedora-release-common-0:43-0. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/161] findutils-1:4.10.0-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/161] glibc-minimal-langpack-0:2.41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/161] gzip-0:1.13-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/161] info-0:7.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/161] xz-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/161] util-linux-0:2.40.4-7.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/161] gawk-0:5.3.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/161] glibc-0:2.41.9000-10.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/161] libacl-0:2.3.2-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/161] bzip2-libs-0:1.0.8-20.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/161] ansible-srpm-macros-0:1-17.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/161] build-reproducibility-srpm-ma 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/161] dwz-0:0.15-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/161] efi-srpm-macros-0:6-3.fc43.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/161] filesystem-srpm-macros-0:3.18 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/161] fonts-srpm-macros-1:2.0.5-21. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/161] forge-srpm-macros-0:0.4.0-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/161] fpc-srpm-macros-0:1.3-14.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/161] ghc-srpm-macros-0:1.9.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/161] gnat-srpm-macros-0:6-7.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/161] go-srpm-macros-0:3.6.0-7.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/161] kernel-srpm-macros-0:1.0-25.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/161] lua-srpm-macros-0:1-15.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/161] ocaml-srpm-macros-0:10-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/161] openblas-srpm-macros-0:2-19.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/161] package-notes-srpm-macros-0:0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/161] perl-srpm-macros-0:1-57.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/161] python-srpm-macros-0:3.13-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/161] qt5-srpm-macros-0:5.15.16-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/161] qt6-srpm-macros-0:6.9.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/161] rpm-0:5.99.90-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/161] rust-srpm-macros-0:26.3-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/161] tree-sitter-srpm-macros-0:0.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/161] zig-srpm-macros-0:1-4.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/161] zip-0:3.0-43.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/161] debugedit-0:5.1-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/161] elfutils-0:0.192-8.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/161] elfutils-libelf-0:0.192-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/161] libarchive-0:3.7.7-4.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/161] libgcc-0:15.0.1-0.14.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/161] libstdc++-0:15.0.1-0.14.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/161] popt-0:1.19-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/161] readline-0:8.2-13.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/161] rpm-build-libs-0:5.99.90-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/161] rpm-libs-0:5.99.90-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/161] zstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/161] filesystem-0:3.18-40.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/161] ncurses-libs-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/161] coreutils-common-0:9.7-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/161] gmp-1:6.3.0-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/161] libattr-0:2.5.2-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/161] libcap-0:2.76-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/161] openssl-libs-1:3.5.0-3.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/161] systemd-libs-0:257.5-2.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/161] pcre2-0:10.45-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/161] ed-0:1.21-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/161] audit-libs-0:4.0.3-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/161] libeconf-0:0.7.6-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/161] libxcrypt-0:4.4.38-7.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/161] setup-0:2.15.0-23.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/161] fedora-repos-0:43-0.1.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/161] glibc-common-0:2.41.9000-10.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/161] xz-libs-1:5.8.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/161] libblkid-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/161] libcap-ng-0:0.8.5-4.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/161] libfdisk-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/161] libmount-0:2.40.4-7.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/161] libsmartcols-0:2.40.4-7.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/161] libuuid-0:2.40.4-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/161] util-linux-core-0:2.40.4-7.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/161] zlib-ng-compat-0:2.2.4-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/161] mpfr-0:4.2.2-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/161] glibc-gconv-extra-0:2.41.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/161] add-determinism-0:0.6.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/161] elfutils-libs-0:0.192-8.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/161] elfutils-debuginfod-client-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/161] libzstd-0:1.5.7-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/161] libxml2-0:2.12.10-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/161] libgomp-0:15.0.1-0.14.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/161] lua-libs-0:5.4.7-3.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/161] rpm-sign-libs-0:5.99.90-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/161] rpm-sequoia-0:1.8.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/161] sqlite-libs-0:3.49.0-1.fc43.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/161] ncurses-base-0:6.5-5.20250125 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/161] ca-certificates-0:2024.2.69_v 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/161] crypto-policies-0:20250402-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/161] pcre2-syntax-0:10.45-1.fc43.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/161] fedora-gpg-keys-0:43-0.1.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/161] fedora-repos-rawhide-0:43-0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/161] elfutils-default-yama-scope-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/161] json-c-0:0.18-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/161] ima-evm-utils-libs-0:1.6.2-5. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/161] libfsverity-0:1.6-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/161] tpm2-tss-0:4.1.3-7.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/161] libusb1-0:1.0.28-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/161] lz4-libs-0:1.10.0-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/161] libselinux-0:3.8-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/161] libsepol-0:3.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/161] binutils-0:2.44-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/161] alternatives-0:1.32-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/161] jansson-0:2.14-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/161] pam-libs-0:1.7.0-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/161] libsemanage-0:3.8-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/161] gnupg2-0:2.4.7-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/161] libassuan-0:2.5.7-3.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/161] libgcrypt-0:1.11.0-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/161] libgpg-error-0:1.54-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/161] libksba-0:1.6.7-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/161] npth-0:1.8-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/161] openldap-0:2.6.9-5.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/161] cyrus-sasl-lib-0:2.1.28-30.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/161] libevent-0:2.1.12-15.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/161] libtool-ltdl-0:2.5.4-4.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/161] gdbm-libs-1:1.23-9.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/161] file-libs-0:5.46-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/161] file-0:5.46-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/161] pkgconf-pkg-config-0:2.3.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/161] pkgconf-0:2.3.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/161] pkgconf-m4-0:2.3.0-2.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/161] libpkgconf-0:2.3.0-2.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/161] curl-0:8.13.0-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/161] pyproject-srpm-macros-0:1.18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/161] libffi-0:3.4.7-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/161] p11-kit-0:0.25.5-5.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/161] libtasn1-0:4.20.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/161] p11-kit-trust-0:0.25.5-5.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/161] gnutls-0:3.8.9-7.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/161] libidn2-0:2.3.8-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/161] libunistring-0:1.1-9.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/161] nettle-0:3.10.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/161] fedora-release-0:43-0.15.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/161] systemd-standalone-sysusers-0 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/161] gdb-minimal-0:16.2-3.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/161] xxhash-libs-0:0.8.3-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/161] fedora-release-identity-basic 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/161] libcurl-0:8.13.0-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/161] krb5-libs-0:1.21.3-5.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/161] libnghttp2-0:1.65.0-1.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/161] libpsl-0:0.21.5-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/161] libssh-0:0.11.1-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/161] keyutils-libs-0:1.6.3-5.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/161] libcom_err-0:1.47.2-3.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/161] libverto-0:0.3.2-10.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/161] publicsuffix-list-dafsa-0:202 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/161] libssh-config-0:0.11.1-4.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/161] libbrotli-0:1.1.0-6.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [161/161] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. Importing OpenPGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. Importing OpenPGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing OpenPGP key 0x6D9F90A6: UserID : "Fedora (44) " Fingerprint: 36F612DCF27F7D1A48A835E4DBFCF71C6D9F90A6 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-44-primary The key was successfully imported. [ 1/163] Verify package files 100% | 1.4 KiB/s | 161.0 B | 00m00s >>> Running pre-transaction scriptlet: filesystem-0:3.18-40.fc43.x86_64 >>> Finished pre-transaction scriptlet: filesystem-0:3.18-40.fc43.x86_64 >>> [RPM] /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root/var/cache/d [ 2/163] Prepare transaction 100% | 3.6 KiB/s | 161.0 B | 00m00s [ 3/163] Installing libgcc-0:15.0.1-0. 100% | 262.0 MiB/s | 268.3 KiB | 00m00s [ 4/163] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/163] Installing publicsuffix-list- 100% | 0.0 B/s | 69.2 KiB | 00m00s [ 6/163] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/163] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/163] Installing fedora-gpg-keys-0: 100% | 42.7 MiB/s | 174.8 KiB | 00m00s [ 9/163] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/163] Installing fedora-release-com 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 11/163] Installing fedora-release-0:4 100% | 15.1 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-23.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-23.fc43.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 12/163] Installing setup-0:2.15.0-23. 100% | 47.5 MiB/s | 730.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/163] Installing filesystem-0:3.18- 100% | 2.4 MiB/s | 212.4 KiB | 00m00s [ 14/163] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 15/163] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 16/163] Installing ncurses-base-0:6.5 100% | 68.8 MiB/s | 352.2 KiB | 00m00s [ 17/163] Installing bash-0:5.2.37-3.fc 100% | 227.2 MiB/s | 8.2 MiB | 00m00s [ 18/163] Installing glibc-common-0:2.4 100% | 56.7 MiB/s | 1.0 MiB | 00m00s [ 19/163] Installing glibc-gconv-extra- 100% | 252.1 MiB/s | 7.3 MiB | 00m00s [ 20/163] Installing glibc-0:2.41.9000- 100% | 166.7 MiB/s | 6.7 MiB | 00m00s [ 21/163] Installing ncurses-libs-0:6.5 100% | 232.6 MiB/s | 952.8 KiB | 00m00s [ 22/163] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 23/163] Installing zlib-ng-compat-0:2 100% | 135.2 MiB/s | 138.4 KiB | 00m00s [ 24/163] Installing bzip2-libs-0:1.0.8 100% | 83.7 MiB/s | 85.7 KiB | 00m00s [ 25/163] Installing libstdc++-0:15.0.1 100% | 354.6 MiB/s | 2.8 MiB | 00m00s [ 26/163] Installing xz-libs-1:5.8.1-1. 100% | 213.8 MiB/s | 218.9 KiB | 00m00s [ 27/163] Installing gmp-1:6.3.0-3.fc43 100% | 401.1 MiB/s | 821.5 KiB | 00m00s [ 28/163] Installing libuuid-0:2.40.4-7 100% | 0.0 B/s | 38.4 KiB | 00m00s [ 29/163] Installing readline-0:8.2-13. 100% | 237.8 MiB/s | 487.1 KiB | 00m00s [ 30/163] Installing popt-0:1.19-8.fc42 100% | 68.1 MiB/s | 139.4 KiB | 00m00s [ 31/163] Installing libblkid-0:2.40.4- 100% | 257.2 MiB/s | 263.4 KiB | 00m00s [ 32/163] Installing libxcrypt-0:4.4.38 100% | 280.4 MiB/s | 287.2 KiB | 00m00s [ 33/163] Installing libzstd-0:1.5.7-1. 100% | 395.1 MiB/s | 809.1 KiB | 00m00s [ 34/163] Installing elfutils-libelf-0: 100% | 390.1 MiB/s | 1.2 MiB | 00m00s [ 35/163] Installing libgpg-error-0:1.5 100% | 52.9 MiB/s | 920.6 KiB | 00m00s [ 36/163] Installing libattr-0:2.5.2-5. 100% | 27.4 MiB/s | 28.1 KiB | 00m00s [ 37/163] Installing libacl-0:2.3.2-3.f 100% | 0.0 B/s | 39.2 KiB | 00m00s [ 38/163] Installing libtasn1-0:4.20.0- 100% | 173.9 MiB/s | 178.1 KiB | 00m00s [ 39/163] Installing libunistring-0:1.1 100% | 345.3 MiB/s | 1.7 MiB | 00m00s [ 40/163] Installing libidn2-0:2.3.8-1. 100% | 54.6 MiB/s | 558.7 KiB | 00m00s [ 41/163] Installing crypto-policies-0: 100% | 32.5 MiB/s | 166.6 KiB | 00m00s [ 42/163] Installing dwz-0:0.15-9.fc42. 100% | 19.0 MiB/s | 292.4 KiB | 00m00s [ 43/163] Installing mpfr-0:4.2.2-1.fc4 100% | 270.3 MiB/s | 830.4 KiB | 00m00s [ 44/163] Installing gawk-0:5.3.2-1.fc4 100% | 90.8 MiB/s | 1.8 MiB | 00m00s [ 45/163] Installing unzip-0:6.0-66.fc4 100% | 27.5 MiB/s | 393.8 KiB | 00m00s [ 46/163] Installing file-libs-0:5.46-1 100% | 624.1 MiB/s | 11.9 MiB | 00m00s [ 47/163] Installing file-0:5.46-1.fc43 100% | 7.1 MiB/s | 101.7 KiB | 00m00s [ 48/163] Installing pcre2-0:10.45-1.fc 100% | 341.4 MiB/s | 699.1 KiB | 00m00s [ 49/163] Installing grep-0:3.12-1.fc43 100% | 55.7 MiB/s | 1.0 MiB | 00m00s [ 50/163] Installing xz-1:5.8.1-1.fc43. 100% | 70.1 MiB/s | 1.3 MiB | 00m00s [ 51/163] Installing libeconf-0:0.7.6-1 100% | 64.7 MiB/s | 66.2 KiB | 00m00s [ 52/163] Installing libcap-ng-0:0.8.5- 100% | 73.1 MiB/s | 74.8 KiB | 00m00s [ 53/163] Installing audit-libs-0:4.0.3 100% | 172.6 MiB/s | 353.4 KiB | 00m00s [ 54/163] Installing pam-libs-0:1.7.0-5 100% | 126.1 MiB/s | 129.1 KiB | 00m00s [ 55/163] Installing libcap-0:2.76-1.fc 100% | 14.9 MiB/s | 214.3 KiB | 00m00s [ 56/163] Installing systemd-libs-0:257 100% | 318.3 MiB/s | 2.2 MiB | 00m00s [ 57/163] Installing libsmartcols-0:2.4 100% | 177.3 MiB/s | 181.5 KiB | 00m00s [ 58/163] Installing lua-libs-0:5.4.7-3 100% | 271.5 MiB/s | 278.1 KiB | 00m00s [ 59/163] Installing sqlite-libs-0:3.49 100% | 304.8 MiB/s | 1.5 MiB | 00m00s [ 60/163] Installing json-c-0:0.18-2.fc 100% | 85.9 MiB/s | 88.0 KiB | 00m00s [ 61/163] Installing lz4-libs-0:1.10.0- 100% | 158.7 MiB/s | 162.5 KiB | 00m00s [ 62/163] Installing libsepol-0:3.8-1.f 100% | 269.2 MiB/s | 827.0 KiB | 00m00s [ 63/163] Installing libselinux-0:3.8-1 100% | 189.7 MiB/s | 194.3 KiB | 00m00s [ 64/163] Installing sed-0:4.9-4.fc42.x 100% | 49.7 MiB/s | 865.5 KiB | 00m00s [ 65/163] Installing findutils-1:4.10.0 100% | 98.6 MiB/s | 1.9 MiB | 00m00s [ 66/163] Installing libmount-0:2.40.4- 100% | 174.5 MiB/s | 357.4 KiB | 00m00s [ 67/163] Installing alternatives-0:1.3 100% | 4.8 MiB/s | 63.8 KiB | 00m00s [ 68/163] Installing libffi-0:3.4.7-4.f 100% | 82.0 MiB/s | 84.0 KiB | 00m00s [ 69/163] Installing p11-kit-0:0.25.5-5 100% | 99.3 MiB/s | 2.2 MiB | 00m00s [ 70/163] Installing p11-kit-trust-0:0. 100% | 17.6 MiB/s | 397.2 KiB | 00m00s [ 71/163] Installing util-linux-core-0: 100% | 67.9 MiB/s | 1.4 MiB | 00m00s [ 72/163] Installing tar-2:1.35-5.fc42. 100% | 134.6 MiB/s | 3.0 MiB | 00m00s [ 73/163] Installing libsemanage-0:3.8- 100% | 149.5 MiB/s | 306.2 KiB | 00m00s [ 74/163] Installing systemd-standalone 100% | 19.4 MiB/s | 277.9 KiB | 00m00s [ 75/163] Installing zstd-0:1.5.7-1.fc4 100% | 95.0 MiB/s | 1.7 MiB | 00m00s [ 76/163] Installing libusb1-0:1.0.28-2 100% | 168.7 MiB/s | 172.7 KiB | 00m00s [ 77/163] Installing zip-0:3.0-43.fc42. 100% | 42.9 MiB/s | 702.4 KiB | 00m00s [ 78/163] Installing libpsl-0:0.21.5-5. 100% | 75.7 MiB/s | 77.5 KiB | 00m00s [ 79/163] Installing libassuan-0:2.5.7- 100% | 165.6 MiB/s | 169.6 KiB | 00m00s [ 80/163] Installing libgcrypt-0:1.11.0 100% | 313.9 MiB/s | 1.6 MiB | 00m00s [ 81/163] Installing libksba-0:1.6.7-3. 100% | 197.8 MiB/s | 405.1 KiB | 00m00s [ 82/163] Installing libfdisk-0:2.40.4- 100% | 182.4 MiB/s | 373.5 KiB | 00m00s [ 83/163] Installing nettle-0:3.10.1-1. 100% | 258.3 MiB/s | 793.6 KiB | 00m00s [ 84/163] Installing gnutls-0:3.8.9-7.f 100% | 359.3 MiB/s | 3.6 MiB | 00m00s [ 85/163] Installing libxml2-0:2.12.10- 100% | 94.3 MiB/s | 1.7 MiB | 00m00s [ 86/163] Installing bzip2-0:1.0.8-20.f 100% | 7.2 MiB/s | 103.8 KiB | 00m00s [ 87/163] Installing add-determinism-0: 100% | 123.3 MiB/s | 2.5 MiB | 00m00s [ 88/163] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 89/163] Installing cpio-0:2.15-2.fc41 100% | 64.7 MiB/s | 1.1 MiB | 00m00s [ 90/163] Installing diffutils-0:3.12-1 100% | 82.2 MiB/s | 1.6 MiB | 00m00s [ 91/163] Installing ed-0:1.21-2.fc42.x 100% | 10.4 MiB/s | 148.8 KiB | 00m00s [ 92/163] Installing patch-0:2.8-1.fc43 100% | 15.9 MiB/s | 228.3 KiB | 00m00s [ 93/163] Installing libgomp-0:15.0.1-0 100% | 263.6 MiB/s | 539.9 KiB | 00m00s [ 94/163] Installing jansson-0:2.14-2.f 100% | 92.2 MiB/s | 94.4 KiB | 00m00s [ 95/163] Installing npth-0:1.8-2.fc42. 100% | 0.0 B/s | 50.7 KiB | 00m00s [ 96/163] Installing libtool-ltdl-0:2.5 100% | 69.6 MiB/s | 71.2 KiB | 00m00s [ 97/163] Installing gdbm-libs-1:1.23-9 100% | 128.5 MiB/s | 131.6 KiB | 00m00s [ 98/163] Installing cyrus-sasl-lib-0:2 100% | 115.2 MiB/s | 2.3 MiB | 00m00s [ 99/163] Installing libpkgconf-0:2.3.0 100% | 77.4 MiB/s | 79.2 KiB | 00m00s [100/163] Installing pkgconf-0:2.3.0-2. 100% | 6.3 MiB/s | 91.0 KiB | 00m00s [101/163] Installing pkgconf-pkg-config 100% | 136.4 KiB/s | 1.8 KiB | 00m00s [102/163] Installing xxhash-libs-0:0.8. 100% | 89.4 MiB/s | 91.6 KiB | 00m00s [103/163] Installing libnghttp2-0:1.65. 100% | 159.5 MiB/s | 163.3 KiB | 00m00s [104/163] Installing keyutils-libs-0:1. 100% | 58.3 MiB/s | 59.7 KiB | 00m00s [105/163] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.2 KiB | 00m00s [106/163] Installing libverto-0:0.3.2-1 100% | 26.6 MiB/s | 27.2 KiB | 00m00s [107/163] Installing libbrotli-0:1.1.0- 100% | 272.0 MiB/s | 835.6 KiB | 00m00s [108/163] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [109/163] Installing elfutils-default-y 100% | 340.5 KiB/s | 2.0 KiB | 00m00s [110/163] Installing elfutils-libs-0:0. 100% | 220.3 MiB/s | 676.7 KiB | 00m00s [111/163] Installing coreutils-common-0 100% | 352.9 MiB/s | 11.3 MiB | 00m00s [112/163] Installing openssl-libs-1:3.5 100% | 370.4 MiB/s | 8.9 MiB | 00m00s [113/163] Installing coreutils-0:9.7-1. 100% | 147.2 MiB/s | 5.4 MiB | 00m00s [114/163] Installing ca-certificates-0: 100% | 1.8 MiB/s | 2.4 MiB | 00m01s [115/163] Installing libarchive-0:3.7.7 100% | 227.7 MiB/s | 932.6 KiB | 00m00s [116/163] Installing krb5-libs-0:1.21.3 100% | 143.7 MiB/s | 2.3 MiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-7.fc43.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [117/163] Installing tpm2-tss-0:4.1.3-7 100% | 261.3 MiB/s | 1.6 MiB | 00m00s [118/163] Installing ima-evm-utils-libs 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [119/163] Installing libssh-0:0.11.1-4. 100% | 277.1 MiB/s | 567.5 KiB | 00m00s [120/163] Installing gzip-0:1.13-3.fc42 100% | 24.3 MiB/s | 398.4 KiB | 00m00s [121/163] Installing rpm-sequoia-0:1.8. 100% | 313.0 MiB/s | 2.5 MiB | 00m00s [122/163] Installing rpm-libs-0:5.99.90 100% | 300.5 MiB/s | 923.1 KiB | 00m00s [123/163] Installing libfsverity-0:1.6- 100% | 32.7 MiB/s | 33.5 KiB | 00m00s [124/163] Installing libevent-0:2.1.12- 100% | 295.2 MiB/s | 906.9 KiB | 00m00s [125/163] Installing openldap-0:2.6.9-5 100% | 214.5 MiB/s | 658.9 KiB | 00m00s [126/163] Installing libcurl-0:8.13.0-1 100% | 285.0 MiB/s | 875.6 KiB | 00m00s [127/163] Installing elfutils-debuginfo 100% | 5.6 MiB/s | 86.2 KiB | 00m00s [128/163] Installing elfutils-0:0.192-8 100% | 128.0 MiB/s | 2.7 MiB | 00m00s [129/163] Installing binutils-0:2.44-3. 100% | 297.7 MiB/s | 25.9 MiB | 00m00s [130/163] Installing gdb-minimal-0:16.2 100% | 254.9 MiB/s | 13.3 MiB | 00m00s [131/163] Installing debugedit-0:5.1-6. 100% | 13.6 MiB/s | 195.4 KiB | 00m00s [132/163] Installing curl-0:8.13.0-1.fc 100% | 18.9 MiB/s | 463.5 KiB | 00m00s [133/163] Installing rpm-0:5.99.90-3.fc 100% | 67.8 MiB/s | 2.5 MiB | 00m00s [134/163] Installing efi-srpm-macros-0: 100% | 40.2 MiB/s | 41.1 KiB | 00m00s [135/163] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [136/163] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 8.6 KiB | 00m00s [137/163] Installing zig-srpm-macros-0: 100% | 1.6 MiB/s | 1.7 KiB | 00m00s [138/163] Installing gnupg2-0:2.4.7-3.f 100% | 217.6 MiB/s | 9.8 MiB | 00m00s [139/163] Installing rpm-sign-libs-0:5. 100% | 39.6 MiB/s | 40.5 KiB | 00m00s [140/163] Installing rpm-build-libs-0:5 100% | 262.9 MiB/s | 269.2 KiB | 00m00s [141/163] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [142/163] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [143/163] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [144/163] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [145/163] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [146/163] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [147/163] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [148/163] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [149/163] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [150/163] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [151/163] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [152/163] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [153/163] Installing rpm-build-0:5.99.9 100% | 17.0 MiB/s | 278.4 KiB | 00m00s [154/163] Installing pyproject-srpm-mac 100% | 2.4 MiB/s | 2.5 KiB | 00m00s [155/163] Installing redhat-rpm-config- 100% | 93.9 MiB/s | 192.3 KiB | 00m00s [156/163] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [157/163] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [158/163] Installing go-srpm-macros-0:3 100% | 60.5 MiB/s | 62.0 KiB | 00m00s [159/163] Installing python-srpm-macros 100% | 51.8 MiB/s | 53.0 KiB | 00m00s [160/163] Installing which-0:2.23-1.fc4 100% | 5.6 MiB/s | 85.6 KiB | 00m00s [161/163] Installing util-linux-0:2.40. 100% | 88.8 MiB/s | 3.5 MiB | 00m00s [162/163] Installing shadow-utils-2:4.1 100% | 119.2 MiB/s | 4.1 MiB | 00m00s [163/163] Installing info-0:7.2-3.fc42. 100% | 209.5 KiB/s | 358.3 KiB | 00m02s Warning: skipped OpenPGP checks for 12 packages from repository: copr_base Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.6.0-1.fc43.x86_64 alternatives-1.32-1.fc43.x86_64 ansible-srpm-macros-1-17.1.fc42.noarch audit-libs-4.0.3-2.fc42.x86_64 bash-5.2.37-3.fc43.x86_64 binutils-2.44-3.fc43.x86_64 build-reproducibility-srpm-macros-0.6.0-1.fc43.noarch bzip2-1.0.8-20.fc42.x86_64 bzip2-libs-1.0.8-20.fc42.x86_64 ca-certificates-2024.2.69_v8.0.401-5.fc42.noarch coreutils-9.7-1.fc43.x86_64 coreutils-common-9.7-1.fc43.x86_64 cpio-2.15-2.fc41.x86_64 crypto-policies-20250402-2.git86c0178.fc43.noarch curl-8.13.0-1.fc43.x86_64 cyrus-sasl-lib-2.1.28-30.fc42.x86_64 debugedit-5.1-6.fc43.x86_64 diffutils-3.12-1.fc43.x86_64 dwz-0.15-9.fc42.x86_64 ed-1.21-2.fc42.x86_64 efi-srpm-macros-6-3.fc43.noarch elfutils-0.192-8.fc42.x86_64 elfutils-debuginfod-client-0.192-8.fc42.x86_64 elfutils-default-yama-scope-0.192-8.fc42.noarch elfutils-libelf-0.192-8.fc42.x86_64 elfutils-libs-0.192-8.fc42.x86_64 fedora-gpg-keys-43-0.1.noarch fedora-release-43-0.15.noarch fedora-release-common-43-0.15.noarch fedora-release-identity-basic-43-0.15.noarch fedora-repos-43-0.1.noarch fedora-repos-rawhide-43-0.1.noarch file-5.46-1.fc43.x86_64 file-libs-5.46-1.fc43.x86_64 filesystem-3.18-40.fc43.x86_64 filesystem-srpm-macros-3.18-40.fc43.noarch findutils-4.10.0-5.fc42.x86_64 fonts-srpm-macros-2.0.5-21.fc42.noarch forge-srpm-macros-0.4.0-2.fc42.noarch fpc-srpm-macros-1.3-14.fc42.noarch gawk-5.3.2-1.fc43.x86_64 gdb-minimal-16.2-3.fc43.x86_64 gdbm-libs-1.23-9.fc42.x86_64 ghc-srpm-macros-1.9.2-2.fc42.noarch glibc-2.41.9000-10.fc43.x86_64 glibc-common-2.41.9000-10.fc43.x86_64 glibc-gconv-extra-2.41.9000-10.fc43.x86_64 glibc-minimal-langpack-2.41.9000-10.fc43.x86_64 gmp-6.3.0-3.fc43.x86_64 gnat-srpm-macros-6-7.fc42.noarch gnupg2-2.4.7-3.fc43.x86_64 gnutls-3.8.9-7.fc43.x86_64 go-srpm-macros-3.6.0-7.fc43.noarch gpg-pubkey-36f612dcf27f7d1a48a835e4dbfcf71c6d9f90a6-6786af3b gpg-pubkey-b0f4950458f69e1150c6c5edc8ac4916105ef944-65ca83d1 gpg-pubkey-c6e7f081cf80e13146676e88829b606631645531-66b6dccf grep-3.12-1.fc43.x86_64 gzip-1.13-3.fc42.x86_64 ima-evm-utils-libs-1.6.2-5.fc43.x86_64 info-7.2-3.fc42.x86_64 jansson-2.14-2.fc42.x86_64 json-c-0.18-2.fc42.x86_64 kernel-srpm-macros-1.0-25.fc42.noarch keyutils-libs-1.6.3-5.fc42.x86_64 krb5-libs-1.21.3-5.fc42.x86_64 libacl-2.3.2-3.fc42.x86_64 libarchive-3.7.7-4.fc43.x86_64 libassuan-2.5.7-3.fc42.x86_64 libattr-2.5.2-5.fc42.x86_64 libblkid-2.40.4-7.fc43.x86_64 libbrotli-1.1.0-6.fc43.x86_64 libcap-2.76-1.fc43.x86_64 libcap-ng-0.8.5-4.fc42.x86_64 libcom_err-1.47.2-3.fc42.x86_64 libcurl-8.13.0-1.fc43.x86_64 libeconf-0.7.6-1.fc43.x86_64 libevent-2.1.12-15.fc42.x86_64 libfdisk-2.40.4-7.fc43.x86_64 libffi-3.4.7-4.fc43.x86_64 libfsverity-1.6-2.fc42.x86_64 libgcc-15.0.1-0.14.fc43.x86_64 libgcrypt-1.11.0-5.fc42.x86_64 libgomp-15.0.1-0.14.fc43.x86_64 libgpg-error-1.54-1.fc43.x86_64 libidn2-2.3.8-1.fc43.x86_64 libksba-1.6.7-3.fc42.x86_64 libmount-2.40.4-7.fc43.x86_64 libnghttp2-1.65.0-1.fc43.x86_64 libpkgconf-2.3.0-2.fc42.x86_64 libpsl-0.21.5-5.fc42.x86_64 libselinux-3.8-1.fc43.x86_64 libsemanage-3.8-1.fc43.x86_64 libsepol-3.8-1.fc42.x86_64 libsmartcols-2.40.4-7.fc43.x86_64 libssh-0.11.1-4.fc42.x86_64 libssh-config-0.11.1-4.fc42.noarch libstdc++-15.0.1-0.14.fc43.x86_64 libtasn1-4.20.0-1.fc43.x86_64 libtool-ltdl-2.5.4-4.fc42.x86_64 libunistring-1.1-9.fc42.x86_64 libusb1-1.0.28-2.fc43.x86_64 libuuid-2.40.4-7.fc43.x86_64 libverto-0.3.2-10.fc42.x86_64 libxcrypt-4.4.38-7.fc43.x86_64 libxml2-2.12.10-1.fc43.x86_64 libzstd-1.5.7-1.fc43.x86_64 lua-libs-5.4.7-3.fc43.x86_64 lua-srpm-macros-1-15.fc42.noarch lz4-libs-1.10.0-2.fc43.x86_64 mpfr-4.2.2-1.fc43.x86_64 ncurses-base-6.5-5.20250125.fc42.noarch ncurses-libs-6.5-5.20250125.fc42.x86_64 nettle-3.10.1-1.fc43.x86_64 npth-1.8-2.fc42.x86_64 ocaml-srpm-macros-10-4.fc42.noarch openblas-srpm-macros-2-19.fc42.noarch openldap-2.6.9-5.fc43.x86_64 openssl-libs-3.5.0-3.fc43.x86_64 p11-kit-0.25.5-5.fc42.x86_64 p11-kit-trust-0.25.5-5.fc42.x86_64 package-notes-srpm-macros-0.5-13.fc42.noarch pam-libs-1.7.0-5.fc43.x86_64 patch-2.8-1.fc43.x86_64 pcre2-10.45-1.fc43.x86_64 pcre2-syntax-10.45-1.fc43.noarch perl-srpm-macros-1-57.fc42.noarch pkgconf-2.3.0-2.fc42.x86_64 pkgconf-m4-2.3.0-2.fc42.noarch pkgconf-pkg-config-2.3.0-2.fc42.x86_64 popt-1.19-8.fc42.x86_64 publicsuffix-list-dafsa-20250116-1.fc42.noarch pyproject-srpm-macros-1.18.1-1.fc43.noarch python-srpm-macros-3.13-5.fc43.noarch qt5-srpm-macros-5.15.16-1.fc43.noarch qt6-srpm-macros-6.9.0-2.fc43.noarch readline-8.2-13.fc43.x86_64 redhat-rpm-config-343-4.fc43.noarch rpm-5.99.90-3.fc43.x86_64 rpm-build-5.99.90-3.fc43.x86_64 rpm-build-libs-5.99.90-3.fc43.x86_64 rpm-libs-5.99.90-3.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 rpm-sign-libs-5.99.90-3.fc43.x86_64 rust-srpm-macros-26.3-4.fc42.noarch sed-4.9-4.fc42.x86_64 setup-2.15.0-23.fc43.noarch shadow-utils-4.17.4-1.fc43.x86_64 sqlite-libs-3.49.0-1.fc43.x86_64 systemd-libs-257.5-2.fc43.x86_64 systemd-standalone-sysusers-257.5-2.fc43.x86_64 tar-1.35-5.fc42.x86_64 tpm2-tss-4.1.3-7.fc43.x86_64 tree-sitter-srpm-macros-0.2.4-1.fc43.noarch unzip-6.0-66.fc42.x86_64 util-linux-2.40.4-7.fc43.x86_64 util-linux-core-2.40.4-7.fc43.x86_64 which-2.23-1.fc42.x86_64 xxhash-libs-0.8.3-2.fc42.x86_64 xz-5.8.1-1.fc43.x86_64 xz-libs-5.8.1-1.fc43.x86_64 zig-srpm-macros-1-4.fc42.noarch zip-3.0-43.fc42.x86_64 zlib-ng-compat-2.2.4-2.fc43.x86_64 zstd-1.5.7-1.fc43.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/python-xbout-0.3.6-5.fc43.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-9b3_x20d/python-xbout/python-xbout.spec) Config(child) 0 minutes 12 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-xbout-0.3.6-5.fc43.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1745510928.265359/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1745510928.265359/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-5.99.90-3.fc43.x86_64 rpm-sequoia-1.8.0-1.fc43.x86_64 dnf5-5.2.13.0-1.fc43.x86_64 dnf5-plugins-5.2.13.0-1.fc43.x86_64 Finish: chroot init Start: build phase for python-xbout-0.3.6-5.fc43.src.rpm Start: build setup for python-xbout-0.3.6-5.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Wrote: /builddir/build/SRPMS/python-xbout-0.3.6-5.fc43.src.rpm Updating and loading repositories: fedora 100% | 36.4 KiB/s | 11.6 KiB | 00m00s Copr repository 100% | 69.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-boutdata noarch 0.2.1-8.fc43 copr_base 544.5 KiB python3-devel x86_64 3.13.3-1.fc43 fedora 1.8 MiB python3-pytest noarch 8.3.5-2.fc43 copr_base 21.0 MiB python3-sphinx noarch 1:8.2.3-4.fc43 copr_base 11.4 MiB python3-sphinx-autodoc-typehints noarch 3.1.0-1.fc43 copr_base 118.8 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-14.fc43 copr_base 192.7 KiB blosc x86_64 1.21.6-6.fc42 fedora 126.2 KiB cairo x86_64 1.18.2-3.fc43 copr_base 1.8 MiB default-fonts-core-sans noarch 4.2-4.fc42 fedora 11.9 KiB dejavu-sans-fonts noarch 2.37-25.fc42 fedora 5.5 MiB expat x86_64 2.7.1-1.fc43 fedora 294.2 KiB flexiblas x86_64 3.4.5-1.fc43 fedora 50.4 KiB flexiblas-netlib x86_64 3.4.5-1.fc43 fedora 10.9 MiB flexiblas-openblas-openmp x86_64 3.4.5-1.fc43 fedora 39.2 KiB fontconfig x86_64 2.16.2-1.fc43 copr_base 760.8 KiB fonts-filesystem noarch 1:2.0.5-21.fc42 fedora 0.0 B freetype x86_64 2.13.3-2.fc42 fedora 858.2 KiB fribidi x86_64 1.0.16-2.fc43 copr_base 190.3 KiB glib2 x86_64 2.84.1-1.fc43 copr_base 14.7 MiB google-noto-fonts-common noarch 20250401-1.fc43 fedora 17.7 KiB google-noto-sans-vf-fonts noarch 20250401-1.fc43 fedora 1.4 MiB graphite2 x86_64 1.3.14-18.fc42 fedora 195.8 KiB harfbuzz x86_64 11.1.0-1.fc43 copr_base 2.8 MiB hdf-libs x86_64 4.3.0-3.fc42 fedora 687.1 KiB hdf5 x86_64 1.14.6-3.fc43 fedora 6.4 MiB jbigkit-libs x86_64 2.1-31.fc42 fedora 121.4 KiB lcms2 x86_64 2.16-5.fc43 copr_base 433.7 KiB libX11 x86_64 1.8.11-1.fc42 fedora 1.3 MiB libX11-common noarch 1.8.11-1.fc42 fedora 1.2 MiB libXau x86_64 1.0.12-2.fc42 fedora 76.9 KiB libXext x86_64 1.3.6-3.fc42 fedora 90.0 KiB libXrender x86_64 0.9.12-2.fc42 fedora 50.0 KiB libaec x86_64 1.1.3-2.fc42 fedora 97.9 KiB libb2 x86_64 0.98.1-13.fc42 fedora 46.1 KiB libgfortran x86_64 15.0.1-0.14.fc43 fedora 3.3 MiB libimagequant x86_64 4.0.3-7.fc42 fedora 704.3 KiB libjpeg-turbo x86_64 3.1.0-2.fc42 fedora 803.2 KiB liblerc x86_64 4.0.0-8.fc42 fedora 636.1 KiB libpng x86_64 2:1.6.47-1.fc43 fedora 237.7 KiB libqhull_r x86_64 1:8.0.2-6.fc42 fedora 483.3 KiB libquadmath x86_64 15.0.1-0.14.fc43 fedora 317.9 KiB libraqm x86_64 0.10.1-2.fc43 copr_base 28.6 KiB libtiff x86_64 4.7.0-3.fc42 fedora 619.1 KiB libtirpc x86_64 1.3.6-1.rc3.fc42.2 fedora 199.0 KiB libwebp x86_64 1.5.0-2.fc42 fedora 947.6 KiB libxcb x86_64 1.17.0-5.fc42 fedora 1.1 MiB libzip x86_64 1.11.3-1.fc42 fedora 135.8 KiB mpdecimal x86_64 4.0.0-2.fc43 fedora 216.8 KiB netcdf x86_64 4.9.2-13.fc43 fedora 2.3 MiB openblas x86_64 0.3.29-1.fc42 fedora 111.7 KiB openblas-openmp x86_64 0.3.29-1.fc42 fedora 43.7 MiB openjpeg x86_64 2.5.3-6.fc42 fedora 451.8 KiB pixman x86_64 0.44.2-2.fc43 copr_base 670.2 KiB pyproject-rpm-macros noarch 1.18.1-1.fc43 copr_base 114.5 KiB python-pip-wheel noarch 25.0.1-3.fc43 copr_base 1.3 MiB python-rpm-macros noarch 3.13-5.fc43 fedora 22.1 KiB python3 x86_64 3.13.3-1.fc43 fedora 28.7 KiB python3-babel noarch 2.17.0-1.fc43 copr_base 30.2 MiB python3-boututils noarch 0.2.1-8.fc43 copr_base 434.4 KiB python3-cairo x86_64 1.25.1-6.fc43 copr_base 497.1 KiB python3-certifi noarch 2024.08.30-2.fc43 copr_base 7.0 KiB python3-cftime x86_64 1.6.4-4.fc43 copr_base 641.5 KiB python3-charset-normalizer noarch 3.4.1-3.fc43 copr_base 319.6 KiB python3-contourpy x86_64 1.3.2-1.fc43 copr_base 838.7 KiB python3-cycler noarch 0.11.0-15.fc43 copr_base 37.4 KiB python3-cython x86_64 3.0.12-1.fc43 copr_base 18.5 MiB python3-dateutil noarch 1:2.8.2-17.fc43 copr_base 876.4 KiB python3-docutils noarch 0.21.2-2.fc42 fedora 4.9 MiB python3-fonttools x86_64 4.57.0-1.fc43 copr_base 18.2 MiB python3-idna noarch 3.10-2.fc42 fedora 628.0 KiB python3-imagesize noarch 1.4.1-10.fc43 copr_base 35.4 KiB python3-iniconfig noarch 1.1.1-25.fc43 copr_base 20.7 KiB python3-jinja2 noarch 3.1.6-1.fc43 fedora 2.9 MiB python3-kiwisolver x86_64 1.4.8-2.fc43 copr_base 153.8 KiB python3-libs x86_64 3.13.3-1.fc43 fedora 39.9 MiB python3-markupsafe x86_64 3.0.2-2.fc43 copr_base 55.9 KiB python3-matplotlib x86_64 3.10.0-3.fc43 copr_base 22.3 MiB python3-matplotlib-data noarch 3.10.0-3.fc43 copr_base 742.7 KiB python3-matplotlib-data-fonts noarch 3.10.0-3.fc43 copr_base 7.9 MiB python3-mpmath noarch 1.3.0-12.fc43 copr_base 5.1 MiB python3-natsort noarch 8.4.0-3.fc43 copr_base 252.3 KiB python3-netcdf4 x86_64 1.7.2-3.fc43 copr_base 2.4 MiB python3-numpy x86_64 1:2.2.5-1.fc43 copr_base 40.3 MiB python3-numpy-f2py x86_64 1:2.2.5-1.fc43 copr_base 2.0 MiB python3-olefile noarch 0.47-6.fc43 copr_base 339.7 KiB python3-packaging noarch 24.2-3.fc42 fedora 555.7 KiB python3-pillow x86_64 11.2.1-1.fc43 copr_base 4.0 MiB python3-platformdirs noarch 4.2.2-4.fc43 copr_base 162.1 KiB python3-pluggy noarch 1.5.0-2.fc43 copr_base 192.9 KiB python3-pooch noarch 1.8.2-5.fc43 copr_base 621.0 KiB python3-pygments noarch 2.19.1-1.fc43 fedora 10.8 MiB python3-pyparsing noarch 3.1.2-8.fc42 fedora 996.4 KiB python3-requests noarch 2.32.3-12.fc43 copr_base 483.4 KiB python3-roman-numerals-py noarch 3.1.0-1.fc43 fedora 38.7 KiB python3-rpm-generators noarch 14-12.fc42 fedora 81.7 KiB python3-rpm-macros noarch 3.13-5.fc43 fedora 6.4 KiB python3-scipy x86_64 1.14.1-3.fc42 fedora 67.2 MiB python3-six noarch 1.17.0-2.fc43 copr_base 117.1 KiB python3-snowballstemmer noarch 2.2.0-15.fc42 fedora 1.7 MiB python3-sphinx-theme-alabaster noarch 0.7.16-6.fc41 fedora 41.9 KiB python3-sympy x86_64 1.13.3-4.fc43 fedora 77.3 MiB python3-urllib3 noarch 2.4.0-1.fc43 copr_base 1.0 MiB snappy x86_64 1.2.2-1.fc43 fedora 71.8 KiB tzdata noarch 2025b-1.fc43 fedora 1.6 MiB xml-common noarch 0.6.3-66.fc42 fedora 78.4 KiB Transaction Summary: Installing: 105 packages Total size of inbound packages is 114 MiB. Need to download 38 MiB. After this operation, 511 MiB extra will be used (install 511 MiB, remove 0 B). [ 1/105] python3-devel-0:3.13.3-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/105] python3-pytest-0:8.3.5-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/105] python3-scipy-0:1.14.1-3.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/105] python3-sympy-0:1.13.3-4.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/105] python3-libs-0:3.13.3-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/105] python3-packaging-0:24.2-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/105] python3-jinja2-0:3.1.6-1.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/105] flexiblas-netlib-0:3.4.5-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/105] libgfortran-0:15.0.1-0.14.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/105] expat-0:2.7.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/105] libb2-0:0.98.1-13.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/105] mpdecimal-0:4.0.0-2.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/105] tzdata-0:2025b-1.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/105] flexiblas-0:3.4.5-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/105] flexiblas-openblas-openmp-0:3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/105] libquadmath-0:15.0.1-0.14.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/105] openblas-openmp-0:0.3.29-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/105] python3-0:3.13.3-1.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/105] python3-requests-0:2.32.3-12. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/105] python3-idna-0:3.10-2.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/105] python3-charset-normalizer-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/105] python3-iniconfig-0:1.1.1-25. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/105] python3-pluggy-0:1.5.0-2.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/105] freetype-0:2.13.3-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/105] libpng-2:1.6.47-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/105] python3-numpy-1:2.2.5-1.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/105] python3-mpmath-0:1.3.0-12.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/105] python3-numpy-f2py-1:2.2.5-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/105] python3-pooch-0:1.8.2-5.fc43. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/105] python-pip-wheel-0:25.0.1-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/105] python3-markupsafe-0:3.0.2-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/105] openblas-0:0.3.29-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/105] harfbuzz-0:11.1.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/105] graphite2-0:1.3.14-18.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/105] python3-platformdirs-0:4.2.2- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/105] python3-pillow-0:11.2.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/105] libimagequant-0:4.0.3-7.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/105] libjpeg-turbo-0:3.1.0-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/105] libtiff-0:4.7.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/105] libwebp-0:1.5.0-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/105] libxcb-0:1.17.0-5.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/105] openjpeg-0:2.5.3-6.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/105] jbigkit-libs-0:2.1-31.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/105] liblerc-0:4.0.0-8.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/105] libXau-0:1.0.12-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/105] glib2-0:2.84.1-1.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/105] lcms2-0:2.16-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/105] libraqm-0:0.10.1-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/105] python3-olefile-0:0.47-6.fc43 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/105] fribidi-0:1.0.16-2.fc43.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/105] python-rpm-macros-0:3.13-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/105] python3-rpm-generators-0:14-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/105] python3-rpm-macros-0:3.13-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/105] pyproject-rpm-macros-0:1.18.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/105] python3-sphinx-autodoc-typehi 100% | 3.0 MiB/s | 52.1 KiB | 00m00s [ 56/105] python3-sphinx-1:8.2.3-4.fc43 100% | 105.2 MiB/s | 2.6 MiB | 00m00s [ 57/105] python3-docutils-0:0.21.2-2.f 100% | 43.6 MiB/s | 1.1 MiB | 00m00s [ 58/105] python3-pygments-0:2.19.1-1.f 100% | 128.5 MiB/s | 2.6 MiB | 00m00s [ 59/105] python3-boutdata-0:0.2.1-8.fc 100% | 3.1 MiB/s | 147.4 KiB | 00m00s [ 60/105] python3-roman-numerals-py-0:3 100% | 6.3 MiB/s | 19.3 KiB | 00m00s [ 61/105] python3-sphinx-theme-alabaste 100% | 7.9 MiB/s | 24.3 KiB | 00m00s [ 62/105] python3-snowballstemmer-0:2.2 100% | 42.1 MiB/s | 258.7 KiB | 00m00s [ 63/105] python3-imagesize-0:1.4.1-10. 100% | 1.8 MiB/s | 22.6 KiB | 00m00s [ 64/105] python3-babel-0:2.17.0-1.fc43 100% | 280.9 MiB/s | 6.7 MiB | 00m00s [ 65/105] python3-urllib3-0:2.4.0-1.fc4 100% | 14.5 MiB/s | 266.4 KiB | 00m00s [ 66/105] dejavu-sans-fonts-0:2.37-25.f 100% | 132.6 MiB/s | 1.3 MiB | 00m00s [ 67/105] python3-matplotlib-0:3.10.0-3 100% | 266.7 MiB/s | 4.8 MiB | 00m00s [ 68/105] libqhull_r-1:8.0.2-6.fc42.x86 100% | 19.8 MiB/s | 202.6 KiB | 00m00s [ 69/105] python3-pyparsing-0:3.1.2-8.f 100% | 54.3 MiB/s | 278.0 KiB | 00m00s [ 70/105] python3-matplotlib-data-0:3.1 100% | 124.6 MiB/s | 510.3 KiB | 00m00s [ 71/105] fonts-filesystem-1:2.0.5-21.f 100% | 4.2 MiB/s | 8.6 KiB | 00m00s [ 72/105] python3-natsort-0:8.4.0-3.fc4 100% | 18.3 MiB/s | 75.1 KiB | 00m00s [ 73/105] python3-matplotlib-data-fonts 100% | 211.3 MiB/s | 2.3 MiB | 00m00s [ 74/105] python3-boututils-0:0.2.1-8.f 100% | 3.2 MiB/s | 148.8 KiB | 00m00s [ 75/105] python3-cairo-0:1.25.1-6.fc43 100% | 17.7 MiB/s | 127.1 KiB | 00m00s [ 76/105] python3-cycler-0:0.11.0-15.fc 100% | 7.2 MiB/s | 22.2 KiB | 00m00s [ 77/105] python3-contourpy-0:1.3.2-1.f 100% | 53.6 MiB/s | 274.2 KiB | 00m00s [ 78/105] python3-dateutil-1:2.8.2-17.f 100% | 85.4 MiB/s | 349.7 KiB | 00m00s [ 79/105] python3-kiwisolver-0:1.4.8-2. 100% | 33.5 MiB/s | 68.5 KiB | 00m00s [ 80/105] python3-six-0:1.17.0-2.fc43.n 100% | 10.3 MiB/s | 42.1 KiB | 00m00s [ 81/105] cairo-0:1.18.2-3.fc43.x86_64 100% | 142.5 MiB/s | 729.8 KiB | 00m00s [ 82/105] python3-fonttools-0:4.57.0-1. 100% | 194.7 MiB/s | 2.9 MiB | 00m00s [ 83/105] libX11-0:1.8.11-1.fc42.x86_64 100% | 71.1 MiB/s | 655.3 KiB | 00m00s [ 84/105] libXext-0:1.3.6-3.fc42.x86_64 100% | 6.4 MiB/s | 39.3 KiB | 00m00s [ 85/105] libXrender-0:0.9.12-2.fc42.x8 100% | 8.8 MiB/s | 26.9 KiB | 00m00s [ 86/105] libX11-common-0:1.8.11-1.fc42 100% | 34.4 MiB/s | 176.1 KiB | 00m00s [ 87/105] python3-netcdf4-0:1.7.2-3.fc4 100% | 112.2 MiB/s | 689.3 KiB | 00m00s [ 88/105] blosc-0:1.21.6-6.fc42.x86_64 100% | 19.0 MiB/s | 58.4 KiB | 00m00s [ 89/105] libaec-0:1.1.3-2.fc42.x86_64 100% | 4.5 MiB/s | 37.3 KiB | 00m00s [ 90/105] hdf5-0:1.14.6-3.fc43.x86_64 100% | 100.5 MiB/s | 2.0 MiB | 00m00s [ 91/105] libzip-0:1.11.3-1.fc42.x86_64 100% | 8.6 MiB/s | 70.3 KiB | 00m00s [ 92/105] netcdf-0:4.9.2-13.fc43.x86_64 100% | 29.8 MiB/s | 823.2 KiB | 00m00s [ 93/105] fontconfig-0:2.16.2-1.fc43.x8 100% | 84.4 MiB/s | 259.2 KiB | 00m00s [ 94/105] snappy-0:1.2.2-1.fc43.x86_64 100% | 9.7 MiB/s | 39.7 KiB | 00m00s [ 95/105] xml-common-0:0.6.3-66.fc42.no 100% | 10.2 MiB/s | 31.2 KiB | 00m00s [ 96/105] default-fonts-core-sans-0:4.2 100% | 5.1 MiB/s | 31.3 KiB | 00m00s [ 97/105] google-noto-sans-vf-fonts-0:2 100% | 85.7 MiB/s | 614.5 KiB | 00m00s [ 98/105] pixman-0:0.44.2-2.fc43.x86_64 100% | 90.5 MiB/s | 277.9 KiB | 00m00s [ 99/105] google-noto-fonts-common-0:20 100% | 2.8 MiB/s | 17.2 KiB | 00m00s [100/105] python3-certifi-0:2024.08.30- 100% | 14.9 MiB/s | 15.3 KiB | 00m00s [101/105] abattis-cantarell-vf-fonts-0: 100% | 39.3 MiB/s | 120.8 KiB | 00m00s [102/105] python3-cftime-0:1.6.4-4.fc43 100% | 76.8 MiB/s | 236.0 KiB | 00m00s [103/105] hdf-libs-0:4.3.0-3.fc42.x86_6 100% | 71.8 MiB/s | 294.1 KiB | 00m00s [104/105] libtirpc-0:1.3.6-1.rc3.fc42.2 100% | 23.3 MiB/s | 95.5 KiB | 00m00s [105/105] python3-cython-0:3.0.12-1.fc4 100% | 283.5 MiB/s | 4.0 MiB | 00m00s -------------------------------------------------------------------------------- [105/105] Total 100% | 97.8 MiB/s | 38.4 MiB | 00m00s Running transaction [ 1/107] Verify package files 100% | 492.0 B/s | 105.0 B | 00m00s [ 2/107] Prepare transaction 100% | 882.0 B/s | 105.0 B | 00m00s [ 3/107] Installing fonts-filesystem-1 100% | 769.5 KiB/s | 788.0 B | 00m00s [ 4/107] Installing libgfortran-0:15.0 100% | 368.0 MiB/s | 3.3 MiB | 00m00s [ 5/107] Installing python-rpm-macros- 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 6/107] Installing libaec-0:1.1.3-2.f 100% | 98.0 MiB/s | 100.3 KiB | 00m00s [ 7/107] Installing libjpeg-turbo-0:3. 100% | 393.0 MiB/s | 804.9 KiB | 00m00s [ 8/107] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 9/107] Installing libwebp-0:1.5.0-2. 100% | 309.8 MiB/s | 951.8 KiB | 00m00s [ 10/107] Installing libpng-2:1.6.47-1. 100% | 46.7 MiB/s | 239.0 KiB | 00m00s [ 11/107] Installing tzdata-0:2025b-1.f 100% | 54.0 MiB/s | 1.9 MiB | 00m00s [ 12/107] Installing pyproject-rpm-macr 100% | 113.8 MiB/s | 116.5 KiB | 00m00s [ 13/107] Installing hdf5-0:1.14.6-3.fc 100% | 178.3 MiB/s | 6.4 MiB | 00m00s [ 14/107] Installing dejavu-sans-fonts- 100% | 367.2 MiB/s | 5.5 MiB | 00m00s [ 15/107] Installing abattis-cantarell- 100% | 189.9 MiB/s | 194.4 KiB | 00m00s [ 16/107] Installing python3-matplotlib 100% | 185.6 MiB/s | 760.1 KiB | 00m00s [ 17/107] Installing python3-matplotlib 100% | 359.6 MiB/s | 7.9 MiB | 00m00s [ 18/107] Installing libtirpc-0:1.3.6-1 100% | 196.0 MiB/s | 200.7 KiB | 00m00s [ 19/107] Installing hdf-libs-0:4.3.0-3 100% | 336.1 MiB/s | 688.3 KiB | 00m00s [ 20/107] Installing fribidi-0:1.0.16-2 100% | 12.6 MiB/s | 192.8 KiB | 00m00s [ 21/107] Installing lcms2-0:2.16-5.fc4 100% | 212.6 MiB/s | 435.4 KiB | 00m00s [ 22/107] Installing pixman-0:0.44.2-2. 100% | 327.8 MiB/s | 671.3 KiB | 00m00s [ 23/107] Installing google-noto-fonts- 100% | 0.0 B/s | 18.5 KiB | 00m00s [ 24/107] Installing google-noto-sans-v 100% | 278.3 MiB/s | 1.4 MiB | 00m00s [ 25/107] Installing default-fonts-core 100% | 2.5 MiB/s | 18.2 KiB | 00m00s [ 26/107] Installing xml-common-0:0.6.3 100% | 39.6 MiB/s | 81.1 KiB | 00m00s [ 27/107] Installing glib2-0:2.84.1-1.f 100% | 257.9 MiB/s | 14.7 MiB | 00m00s [ 28/107] Installing snappy-0:1.2.2-1.f 100% | 71.8 MiB/s | 73.5 KiB | 00m00s [ 29/107] Installing blosc-0:1.21.6-6.f 100% | 126.0 MiB/s | 129.0 KiB | 00m00s [ 30/107] Installing libzip-0:1.11.3-1. 100% | 133.7 MiB/s | 137.0 KiB | 00m00s [ 31/107] Installing netcdf-0:4.9.2-13. 100% | 106.9 MiB/s | 2.4 MiB | 00m00s [ 32/107] Installing libX11-common-0:1. 100% | 132.0 MiB/s | 1.2 MiB | 00m00s [ 33/107] Installing libXau-0:1.0.12-2. 100% | 76.6 MiB/s | 78.5 KiB | 00m00s [ 34/107] Installing libxcb-0:1.17.0-5. 100% | 216.1 MiB/s | 1.1 MiB | 00m00s [ 35/107] Installing libX11-0:1.8.11-1. 100% | 321.4 MiB/s | 1.3 MiB | 00m00s [ 36/107] Installing libXext-0:1.3.6-3. 100% | 89.1 MiB/s | 91.2 KiB | 00m00s [ 37/107] Installing libXrender-0:0.9.1 100% | 50.1 MiB/s | 51.3 KiB | 00m00s [ 38/107] Installing liblerc-0:4.0.0-8. 100% | 311.3 MiB/s | 637.6 KiB | 00m00s [ 39/107] Installing jbigkit-libs-0:2.1 100% | 120.5 MiB/s | 123.4 KiB | 00m00s [ 40/107] Installing libtiff-0:4.7.0-3. 100% | 303.4 MiB/s | 621.3 KiB | 00m00s [ 41/107] Installing openjpeg-0:2.5.3-6 100% | 221.6 MiB/s | 453.8 KiB | 00m00s [ 42/107] Installing libimagequant-0:4. 100% | 229.8 MiB/s | 705.9 KiB | 00m00s [ 43/107] Installing graphite2-0:1.3.14 100% | 12.9 MiB/s | 197.9 KiB | 00m00s [ 44/107] Installing freetype-0:2.13.3- 100% | 279.9 MiB/s | 859.9 KiB | 00m00s [ 45/107] Installing harfbuzz-0:11.1.0- 100% | 348.4 MiB/s | 2.8 MiB | 00m00s [ 46/107] Installing libraqm-0:0.10.1-2 100% | 29.0 MiB/s | 29.7 KiB | 00m00s [ 47/107] Installing fontconfig-0:2.16. 100% | 748.6 KiB/s | 780.1 KiB | 00m01s [ 48/107] Installing cairo-0:1.18.2-3.f 100% | 295.2 MiB/s | 1.8 MiB | 00m00s [ 49/107] Installing openblas-0:0.3.29- 100% | 110.8 MiB/s | 113.5 KiB | 00m00s [ 50/107] Installing openblas-openmp-0: 100% | 560.5 MiB/s | 43.7 MiB | 00m00s [ 51/107] Installing python-pip-wheel-0 100% | 631.3 MiB/s | 1.3 MiB | 00m00s [ 52/107] Installing libqhull_r-1:8.0.2 100% | 236.4 MiB/s | 484.1 KiB | 00m00s [ 53/107] Installing libquadmath-0:15.0 100% | 311.7 MiB/s | 319.2 KiB | 00m00s [ 54/107] Installing flexiblas-netlib-0 100% | 248.5 MiB/s | 10.9 MiB | 00m00s [ 55/107] Installing flexiblas-0:3.4.5- 100% | 50.4 MiB/s | 51.6 KiB | 00m00s [ 56/107] Installing flexiblas-openblas 100% | 39.1 MiB/s | 40.1 KiB | 00m00s [ 57/107] Installing mpdecimal-0:4.0.0- 100% | 213.2 MiB/s | 218.4 KiB | 00m00s [ 58/107] Installing libb2-0:0.98.1-13. 100% | 46.1 MiB/s | 47.2 KiB | 00m00s [ 59/107] Installing expat-0:2.7.1-1.fc 100% | 14.5 MiB/s | 296.3 KiB | 00m00s [ 60/107] Installing python3-libs-0:3.1 100% | 298.4 MiB/s | 40.3 MiB | 00m00s [ 61/107] Installing python3-0:3.13.3-1 100% | 2.0 MiB/s | 30.5 KiB | 00m00s [ 62/107] Installing python3-numpy-f2py 100% | 76.7 MiB/s | 2.1 MiB | 00m00s [ 63/107] Installing python3-numpy-1:2. 100% | 298.2 MiB/s | 40.6 MiB | 00m00s [ 64/107] Installing python3-packaging- 100% | 138.7 MiB/s | 568.0 KiB | 00m00s [ 65/107] Installing python3-idna-0:3.1 100% | 206.5 MiB/s | 634.3 KiB | 00m00s [ 66/107] Installing python3-urllib3-0: 100% | 204.2 MiB/s | 1.0 MiB | 00m00s [ 67/107] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 68/107] Installing python3-contourpy- 100% | 207.9 MiB/s | 851.6 KiB | 00m00s [ 69/107] Installing python3-cftime-0:1 100% | 157.6 MiB/s | 645.4 KiB | 00m00s [ 70/107] Installing python3-docutils-0 100% | 131.3 MiB/s | 5.0 MiB | 00m00s [ 71/107] Installing python3-pygments-0 100% | 193.6 MiB/s | 11.0 MiB | 00m00s [ 72/107] Installing python3-roman-nume 100% | 40.7 MiB/s | 41.6 KiB | 00m00s [ 73/107] Installing python3-snowballst 100% | 286.9 MiB/s | 1.7 MiB | 00m00s [ 74/107] Installing python3-sphinx-the 100% | 15.1 MiB/s | 46.4 KiB | 00m00s [ 75/107] Installing python3-babel-0:2. 100% | 304.1 MiB/s | 30.4 MiB | 00m00s [ 76/107] Installing python3-imagesize- 100% | 37.6 MiB/s | 38.5 KiB | 00m00s [ 77/107] Installing python3-charset-no 100% | 18.9 MiB/s | 329.8 KiB | 00m00s [ 78/107] Installing python3-requests-0 100% | 161.4 MiB/s | 495.7 KiB | 00m00s [ 79/107] Installing python3-iniconfig- 100% | 23.3 MiB/s | 23.9 KiB | 00m00s [ 80/107] Installing python3-pluggy-0:1 100% | 97.3 MiB/s | 199.3 KiB | 00m00s [ 81/107] Installing python3-pyparsing- 100% | 327.1 MiB/s | 1.0 MiB | 00m00s [ 82/107] Installing python3-natsort-0: 100% | 16.0 MiB/s | 261.5 KiB | 00m00s [ 83/107] Installing python3-mpmath-0:1 100% | 191.9 MiB/s | 5.2 MiB | 00m00s [ 84/107] Installing python3-sympy-0:1. 100% | 260.9 MiB/s | 78.3 MiB | 00m00s [ 85/107] Installing python3-markupsafe 100% | 29.4 MiB/s | 60.1 KiB | 00m00s [ 86/107] Installing python3-jinja2-0:3 100% | 291.3 MiB/s | 2.9 MiB | 00m00s [ 87/107] Installing python3-sphinx-1:8 100% | 168.2 MiB/s | 11.6 MiB | 00m00s [ 88/107] Installing python3-platformdi 100% | 82.3 MiB/s | 168.6 KiB | 00m00s [ 89/107] Installing python3-pooch-0:1. 100% | 69.0 MiB/s | 636.1 KiB | 00m00s [ 90/107] Installing python3-scipy-0:1. 100% | 334.5 MiB/s | 67.6 MiB | 00m00s [ 91/107] Installing python3-cairo-0:1. 100% | 244.7 MiB/s | 501.2 KiB | 00m00s [ 92/107] Installing python3-cycler-0:0 100% | 19.4 MiB/s | 39.8 KiB | 00m00s [ 93/107] Installing python3-fonttools- 100% | 306.1 MiB/s | 18.4 MiB | 00m00s [ 94/107] Installing python3-kiwisolver 100% | 77.1 MiB/s | 157.9 KiB | 00m00s [ 95/107] Installing python3-six-0:1.17 100% | 116.6 MiB/s | 119.4 KiB | 00m00s [ 96/107] Installing python3-dateutil-1 100% | 217.3 MiB/s | 890.1 KiB | 00m00s [ 97/107] Installing python3-olefile-0: 100% | 167.5 MiB/s | 343.0 KiB | 00m00s [ 98/107] Installing python3-pillow-0:1 100% | 253.2 MiB/s | 4.1 MiB | 00m00s [ 99/107] Installing python3-matplotlib 100% | 303.3 MiB/s | 22.4 MiB | 00m00s [100/107] Installing python3-certifi-0: 100% | 5.2 MiB/s | 10.7 KiB | 00m00s [101/107] Installing python3-cython-0:3 100% | 248.0 MiB/s | 18.6 MiB | 00m00s [102/107] Installing python3-netcdf4-0: 100% | 307.2 MiB/s | 2.5 MiB | 00m00s [103/107] Installing python3-boututils- 100% | 111.7 MiB/s | 457.4 KiB | 00m00s [104/107] Installing python3-boutdata-0 100% | 32.0 MiB/s | 557.4 KiB | 00m00s [105/107] Installing python3-sphinx-aut 100% | 40.2 MiB/s | 123.6 KiB | 00m00s [106/107] Installing python3-pytest-0:8 100% | 315.7 MiB/s | 21.2 MiB | 00m00s [107/107] Installing python3-devel-0:3. 100% | 14.2 MiB/s | 1.8 MiB | 00m00s Warning: skipped OpenPGP checks for 46 packages from repository: copr_base Complete! Finish: build setup for python-xbout-0.3.6-5.fc43.src.rpm Start: rpmbuild python-xbout-0.3.6-5.fc43.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.TxZX68 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MYpEdN + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + cd /builddir/build/BUILD/python-xbout-0.3.6-build + rm -rf xbout-0.3.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xbout-0.3.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xbout-0.3.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/xarray-version.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sphinx-theme.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-dirs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf xbout.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.mwSHr0 + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + cd xbout-0.3.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-xbout-0.3.6-build/pyproject-wheeldir --output /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires -r Handling setuptools >= 65 from build-system.requires Requirement not satisfied: setuptools >= 65 Handling setuptools_scm[toml] >= 7 from build-system.requires Requirement not satisfied: setuptools_scm[toml] >= 7 Handling wheel >= 0.29.0 from build-system.requires Requirement not satisfied: wheel >= 0.29.0 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xbout-0.3.6-5.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 34.0 KiB/s | 11.6 KiB | 00m00s Copr repository 100% | 90.4 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-boutdata-0.2.1-8.fc43.noarch" is already installed. Package "python3-devel-3.13.3-1.fc43.x86_64" is already installed. Package "python3-sphinx-autodoc-typehints-3.1.0-1.fc43.noarch" is already installed. Package "python3-packaging-24.2-3.fc42.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-sphinx-1:8.2.3-4.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 25.0.1-3.fc43 copr_base 11.6 MiB python3-setuptools noarch 78.1.1-1.fc43 copr_base 8.6 MiB python3-setuptools_scm noarch 8.2.1-1.fc43 copr_base 322.3 KiB python3-setuptools_scm+toml noarch 8.2.1-1.fc43 copr_base 9.7 KiB python3-wheel noarch 1:0.45.1-6.fc43 copr_base 541.9 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 5 MiB. Need to download 160 KiB. After this operation, 21 MiB extra will be used (install 21 MiB, remove 0 B). [1/5] python3-pip-0:25.0.1-3.fc43.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] python3-setuptools-0:78.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] python3-setuptools_scm-0:8.2.1-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] python3-setuptools_scm+toml-0:8.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] python3-wheel-1:0.45.1-6.fc43.noa 100% | 9.8 MiB/s | 160.4 KiB | 00m00s -------------------------------------------------------------------------------- [5/5] Total 100% | 7.5 MiB/s | 160.4 KiB | 00m00s Running transaction [1/7] Verify package files 100% | 454.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 151.0 B/s | 5.0 B | 00m00s [3/7] Installing python3-setuptools-0:7 100% | 194.8 MiB/s | 8.8 MiB | 00m00s [4/7] Installing python3-setuptools_scm 100% | 111.4 MiB/s | 342.3 KiB | 00m00s [5/7] Installing python3-setuptools_scm 100% | 0.0 B/s | 124.0 B | 00m00s [6/7] Installing python3-wheel-1:0.45.1 100% | 26.1 MiB/s | 562.2 KiB | 00m00s [7/7] Installing python3-pip-0:25.0.1-3 100% | 127.4 MiB/s | 11.8 MiB | 00m00s Warning: skipped OpenPGP checks for 5 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.gKRCkV + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + cd xbout-0.3.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-xbout-0.3.6-build/pyproject-wheeldir --output /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires -r Handling setuptools >= 65 from build-system.requires Requirement satisfied: setuptools >= 65 (installed: setuptools 78.1.1) Handling setuptools_scm[toml] >= 7 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7 (installed: setuptools_scm 8.2.1) (extras are currently not checked) Handling wheel >= 0.29.0 from build-system.requires Requirement satisfied: wheel >= 0.29.0 (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info creating xbout.egg-info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt writing manifest file 'xbout.egg-info/SOURCES.txt' WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout-0.3.6.dist-info' Handling xarray>=0.18.0 from hook generated metadata: Requires-Dist (xbout) Requirement not satisfied: xarray>=0.18.0 Handling boutdata>=0.1.4 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: boutdata>=0.1.4 (installed: boutdata 0.2.1) Handling dask[array]>=2.10.0 from hook generated metadata: Requires-Dist (xbout) Requirement not satisfied: dask[array]>=2.10.0 Handling gelidum>=0.5.3 from hook generated metadata: Requires-Dist (xbout) Requirement not satisfied: gelidum>=0.5.3 Handling natsort>=5.5.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: natsort>=5.5.0 (installed: natsort 8.4.0) Handling matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 (installed: matplotlib 3.10.0) Handling animatplot-ng>=0.4.2 from hook generated metadata: Requires-Dist (xbout) Requirement not satisfied: animatplot-ng>=0.4.2 Handling netcdf4>=1.4.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: netcdf4>=1.4.0 (installed: netcdf4 1.7.2) Handling Pillow>=6.1.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: Pillow>=6.1.0 (installed: Pillow 11.2.1) Handling numpy>=1.18.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: numpy>=1.18.0; extra == "calc" Handling scipy>=1.3.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: scipy>=1.3.0; extra == "calc" Handling dask>=2.2.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: dask>=2.2.0; extra == "calc" Handling statsmodels>=0.10.1; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: statsmodels>=0.10.1; extra == "calc" Handling xrft; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xrft; extra == "calc" Handling xhistogram; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xhistogram; extra == "calc" Handling sphinx>=5.3; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx>=5.3; extra == "docs" Handling sphinx-book-theme>=0.4.0rc1; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx-book-theme>=0.4.0rc1; extra == "docs" Handling sphinx_autodoc_typehints>=1.19; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx_autodoc_typehints>=1.19; extra == "docs" Handling k3d>=2.8.0; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: k3d>=2.8.0; extra == "3d-plot" Handling mayavi>=4.7.2; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: mayavi>=4.7.2; extra == "3d-plot" Handling wand; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: wand; extra == "3d-plot" Handling pytest>=3.3.0; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest>=3.3.0; extra == "tests" Handling pytest-cov; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest-cov; extra == "tests" + cat /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires + rm -rfv xbout-0.3.6.dist-info/ removed 'xbout-0.3.6.dist-info/top_level.txt' removed 'xbout-0.3.6.dist-info/METADATA' removed 'xbout-0.3.6.dist-info/licenses/LICENSE' removed directory 'xbout-0.3.6.dist-info/licenses' removed directory 'xbout-0.3.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xbout-0.3.6-5.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 35.6 KiB/s | 11.6 KiB | 00m00s Copr repository 100% | 69.9 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 23.4 MiB/s | 4.1 MiB | 00m00s Repositories loaded. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-boutdata-0.2.1-8.fc43.noarch" is already installed. Package "python3-devel-3.13.3-1.fc43.x86_64" is already installed. Package "python3-sphinx-autodoc-typehints-3.1.0-1.fc43.noarch" is already installed. Package "python3-boutdata-0.2.1-8.fc43.noarch" is already installed. Package "python3-natsort-8.4.0-3.fc43.noarch" is already installed. Package "python3-netcdf4-1.7.2-3.fc43.x86_64" is already installed. Package "python3-packaging-24.2-3.fc42.noarch" is already installed. Package "python3-pillow-11.2.1-1.fc43.x86_64" is already installed. Package "python3-pip-25.0.1-3.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm-8.2.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm+toml-8.2.1-1.fc43.noarch" is already installed. Package "python3-sphinx-1:8.2.3-4.fc43.noarch" is already installed. Package "python3-wheel-1:0.45.1-6.fc43.noarch" is already installed. Package Arch Version Repository Size Installing: python3-animatplot noarch 0.4.4-3.fc43 copr_base 114.1 KiB python3-dask noarch 2024.12.1-2.fc42 fedora 17.3 MiB python3-dask+array noarch 2024.12.1-2.fc42 fedora 6.8 KiB python3-gelidum noarch 0.7.0-6.fc43 copr_base 111.7 KiB python3-xarray noarch 2025.1.1-3.fc42 fedora 18.2 MiB Installing dependencies: libyaml x86_64 0.2.5-16.fc42 fedora 134.7 KiB python3-click noarch 8.1.7-7.fc43 copr_base 1.0 MiB python3-cloudpickle noarch 3.1.1-2.fc42 fedora 128.1 KiB python3-fsspec noarch 2025.3.2-1.fc43 copr_base 1.8 MiB python3-locket noarch 1.0.0-12.fc43 copr_base 20.8 KiB python3-pandas x86_64 2.2.3-1.fc42~bootstrap fedora 42.2 MiB python3-partd noarch 1.4.2-3.fc42 fedora 163.3 KiB python3-pytz noarch 2025.2-1.fc43 fedora 204.7 KiB python3-pyyaml x86_64 6.0.2-2.fc42 fedora 781.0 KiB python3-toolz noarch 1.0.0-2.fc43 copr_base 606.0 KiB Transaction Summary: Installing: 15 packages Total size of inbound packages is 15 MiB. Need to download 15 MiB. After this operation, 83 MiB extra will be used (install 83 MiB, remove 0 B). [ 1/15] python3-pyyaml-0:6.0.2-2.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/15] libyaml-0:0.2.5-16.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/15] python3-fsspec-0:2025.3.2-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/15] python3-dask+array-0:2024.12.1- 100% | 889.6 KiB/s | 12.5 KiB | 00m00s [ 5/15] python3-dask-0:2024.12.1-2.fc42 100% | 113.5 MiB/s | 3.2 MiB | 00m00s [ 6/15] python3-xarray-0:2025.1.1-3.fc4 100% | 40.5 MiB/s | 2.9 MiB | 00m00s [ 7/15] python3-animatplot-0:0.4.4-3.fc 100% | 838.9 KiB/s | 47.8 KiB | 00m00s [ 8/15] python3-partd-0:1.4.2-3.fc42.no 100% | 30.7 MiB/s | 62.9 KiB | 00m00s [ 9/15] python3-cloudpickle-0:3.1.1-2.f 100% | 11.6 MiB/s | 47.5 KiB | 00m00s [10/15] python3-pytz-0:2025.2-1.fc43.no 100% | 30.2 MiB/s | 61.8 KiB | 00m00s [11/15] python3-gelidum-0:0.7.0-6.fc43. 100% | 948.2 KiB/s | 46.5 KiB | 00m00s [12/15] python3-locket-0:1.0.0-12.fc43. 100% | 9.0 MiB/s | 18.5 KiB | 00m00s [13/15] python3-toolz-0:1.0.0-2.fc43.no 100% | 25.6 MiB/s | 157.0 KiB | 00m00s [14/15] python3-click-0:8.1.7-7.fc43.no 100% | 45.6 MiB/s | 233.5 KiB | 00m00s [15/15] python3-pandas-0:2.2.3-1.fc42~b 100% | 221.5 MiB/s | 8.0 MiB | 00m00s -------------------------------------------------------------------------------- [15/15] Total 100% | 62.8 MiB/s | 14.7 MiB | 00m00s Running transaction [ 1/17] Verify package files 100% | 600.0 B/s | 15.0 B | 00m00s [ 2/17] Prepare transaction 100% | 294.0 B/s | 15.0 B | 00m00s [ 3/17] Installing python3-toolz-0:1.0. 100% | 122.1 MiB/s | 625.4 KiB | 00m00s [ 4/17] Installing python3-fsspec-0:202 100% | 230.0 MiB/s | 1.8 MiB | 00m00s [ 5/17] Installing python3-click-0:8.1. 100% | 264.9 MiB/s | 1.1 MiB | 00m00s [ 6/17] Installing python3-locket-0:1.0 100% | 22.7 MiB/s | 23.2 KiB | 00m00s [ 7/17] Installing python3-partd-0:1.4. 100% | 84.3 MiB/s | 172.6 KiB | 00m00s [ 8/17] Installing python3-pytz-0:2025. 100% | 51.2 MiB/s | 209.9 KiB | 00m00s [ 9/17] Installing python3-pandas-0:2.2 100% | 339.5 MiB/s | 42.4 MiB | 00m00s [10/17] Installing libyaml-0:0.2.5-16.f 100% | 132.9 MiB/s | 136.0 KiB | 00m00s [11/17] Installing python3-pyyaml-0:6.0 100% | 194.0 MiB/s | 794.8 KiB | 00m00s [12/17] Installing python3-cloudpickle- 100% | 42.9 MiB/s | 131.7 KiB | 00m00s [13/17] Installing python3-dask-0:2024. 100% | 245.3 MiB/s | 17.4 MiB | 00m00s [14/17] Installing python3-dask+array-0 100% | 60.5 KiB/s | 124.0 B | 00m00s [15/17] Installing python3-xarray-0:202 100% | 380.7 MiB/s | 18.3 MiB | 00m00s [16/17] Installing python3-gelidum-0:0. 100% | 60.4 MiB/s | 123.7 KiB | 00m00s [17/17] Installing python3-animatplot-0 100% | 5.3 MiB/s | 125.7 KiB | 00m00s Warning: skipped OpenPGP checks for 6 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OK8CoM + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + cd xbout-0.3.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-xbout-0.3.6-build/pyproject-wheeldir --output /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires -r Handling setuptools >= 65 from build-system.requires Requirement satisfied: setuptools >= 65 (installed: setuptools 78.1.1) Handling setuptools_scm[toml] >= 7 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7 (installed: setuptools_scm 8.2.1) (extras are currently not checked) Handling wheel >= 0.29.0 from build-system.requires Requirement satisfied: wheel >= 0.29.0 (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout-0.3.6.dist-info' Handling xarray>=0.18.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: xarray>=0.18.0 (installed: xarray 2025.1.1) Handling boutdata>=0.1.4 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: boutdata>=0.1.4 (installed: boutdata 0.2.1) Handling dask[array]>=2.10.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: dask[array]>=2.10.0 (installed: dask 2024.12.1) (extras are currently not checked) Handling gelidum>=0.5.3 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: gelidum>=0.5.3 (installed: gelidum 0.7.0) Handling natsort>=5.5.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: natsort>=5.5.0 (installed: natsort 8.4.0) Handling matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 (installed: matplotlib 3.10.0) Handling animatplot-ng>=0.4.2 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: animatplot-ng>=0.4.2 (installed: animatplot-ng 0.4.4) Handling netcdf4>=1.4.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: netcdf4>=1.4.0 (installed: netcdf4 1.7.2) Handling Pillow>=6.1.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: Pillow>=6.1.0 (installed: Pillow 11.2.1) Handling numpy>=1.18.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: numpy>=1.18.0; extra == "calc" Handling scipy>=1.3.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: scipy>=1.3.0; extra == "calc" Handling dask>=2.2.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: dask>=2.2.0; extra == "calc" Handling statsmodels>=0.10.1; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: statsmodels>=0.10.1; extra == "calc" Handling xrft; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xrft; extra == "calc" Handling xhistogram; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xhistogram; extra == "calc" Handling sphinx>=5.3; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx>=5.3; extra == "docs" Handling sphinx-book-theme>=0.4.0rc1; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx-book-theme>=0.4.0rc1; extra == "docs" Handling sphinx_autodoc_typehints>=1.19; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx_autodoc_typehints>=1.19; extra == "docs" Handling k3d>=2.8.0; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: k3d>=2.8.0; extra == "3d-plot" Handling mayavi>=4.7.2; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: mayavi>=4.7.2; extra == "3d-plot" Handling wand; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: wand; extra == "3d-plot" Handling pytest>=3.3.0; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest>=3.3.0; extra == "tests" Handling pytest-cov; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest-cov; extra == "tests" + cat /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires + rm -rfv xbout-0.3.6.dist-info/ removed 'xbout-0.3.6.dist-info/top_level.txt' removed 'xbout-0.3.6.dist-info/METADATA' removed 'xbout-0.3.6.dist-info/licenses/LICENSE' removed directory 'xbout-0.3.6.dist-info/licenses' removed directory 'xbout-0.3.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-xbout-0.3.6-5.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 321.8 KiB/s | 11.6 KiB | 00m00s Copr repository 100% | 102.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "pyproject-rpm-macros-1.18.1-1.fc43.noarch" is already installed. Package "python3-boutdata-0.2.1-8.fc43.noarch" is already installed. Package "python3-devel-3.13.3-1.fc43.x86_64" is already installed. Package "python3-sphinx-autodoc-typehints-3.1.0-1.fc43.noarch" is already installed. Package "python3-animatplot-0.4.4-3.fc43.noarch" is already installed. Package "python3-boutdata-0.2.1-8.fc43.noarch" is already installed. Package "python3-dask-2024.12.1-2.fc42.noarch" is already installed. Package "python3-dask+array-2024.12.1-2.fc42.noarch" is already installed. Package "python3-gelidum-0.7.0-6.fc43.noarch" is already installed. Package "python3-natsort-8.4.0-3.fc43.noarch" is already installed. Package "python3-netcdf4-1.7.2-3.fc43.x86_64" is already installed. Package "python3-packaging-24.2-3.fc42.noarch" is already installed. Package "python3-pillow-11.2.1-1.fc43.x86_64" is already installed. Package "python3-pip-25.0.1-3.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-2.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm-8.2.1-1.fc43.noarch" is already installed. Package "python3-setuptools_scm+toml-8.2.1-1.fc43.noarch" is already installed. Package "python3-sphinx-1:8.2.3-4.fc43.noarch" is already installed. Package "python3-wheel-1:0.45.1-6.fc43.noarch" is already installed. Package "python3-xarray-2025.1.1-3.fc42.noarch" is already installed. Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737158400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zAiG6G + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + cd xbout-0.3.6 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/.pyproject-builddir + RPM_TOXENV=py313 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-xbout-0.3.6-build/pyproject-wheeldir --output /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires -r Handling setuptools >= 65 from build-system.requires Requirement satisfied: setuptools >= 65 (installed: setuptools 78.1.1) Handling setuptools_scm[toml] >= 7 from build-system.requires Requirement satisfied: setuptools_scm[toml] >= 7 (installed: setuptools_scm 8.2.1) (extras are currently not checked) Handling wheel >= 0.29.0 from build-system.requires Requirement satisfied: wheel >= 0.29.0 (installed: wheel 0.45.1) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running egg_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout-0.3.6.dist-info' Handling xarray>=0.18.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: xarray>=0.18.0 (installed: xarray 2025.1.1) Handling boutdata>=0.1.4 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: boutdata>=0.1.4 (installed: boutdata 0.2.1) Handling dask[array]>=2.10.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: dask[array]>=2.10.0 (installed: dask 2024.12.1) (extras are currently not checked) Handling gelidum>=0.5.3 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: gelidum>=0.5.3 (installed: gelidum 0.7.0) Handling natsort>=5.5.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: natsort>=5.5.0 (installed: natsort 8.4.0) Handling matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: matplotlib!=3.3.0,!=3.3.1,!=3.3.2,>=3.1.1 (installed: matplotlib 3.10.0) Handling animatplot-ng>=0.4.2 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: animatplot-ng>=0.4.2 (installed: animatplot-ng 0.4.4) Handling netcdf4>=1.4.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: netcdf4>=1.4.0 (installed: netcdf4 1.7.2) Handling Pillow>=6.1.0 from hook generated metadata: Requires-Dist (xbout) Requirement satisfied: Pillow>=6.1.0 (installed: Pillow 11.2.1) Handling numpy>=1.18.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: numpy>=1.18.0; extra == "calc" Handling scipy>=1.3.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: scipy>=1.3.0; extra == "calc" Handling dask>=2.2.0; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: dask>=2.2.0; extra == "calc" Handling statsmodels>=0.10.1; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: statsmodels>=0.10.1; extra == "calc" Handling xrft; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xrft; extra == "calc" Handling xhistogram; extra == "calc" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: xhistogram; extra == "calc" Handling sphinx>=5.3; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx>=5.3; extra == "docs" Handling sphinx-book-theme>=0.4.0rc1; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx-book-theme>=0.4.0rc1; extra == "docs" Handling sphinx_autodoc_typehints>=1.19; extra == "docs" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: sphinx_autodoc_typehints>=1.19; extra == "docs" Handling k3d>=2.8.0; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: k3d>=2.8.0; extra == "3d-plot" Handling mayavi>=4.7.2; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: mayavi>=4.7.2; extra == "3d-plot" Handling wand; extra == "3d-plot" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: wand; extra == "3d-plot" Handling pytest>=3.3.0; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest>=3.3.0; extra == "tests" Handling pytest-cov; extra == "tests" from hook generated metadata: Requires-Dist (xbout) Ignoring alien requirement: pytest-cov; extra == "tests" + cat /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-buildrequires + rm -rfv xbout-0.3.6.dist-info/ removed 'xbout-0.3.6.dist-info/top_level.txt' removed 'xbout-0.3.6.dist-info/METADATA' removed 'xbout-0.3.6.dist-info/licenses/LICENSE' removed directory 'xbout-0.3.6.dist-info/licenses' removed directory 'xbout-0.3.6.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1sNNXt + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xbout-0.3.6 + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/pyproject-wheeldir Processing /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running dist_info creating /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info writing /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/SOURCES.txt' WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-modern-metadata-3j897bxd/xbout-0.3.6.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: xbout Building wheel for xbout (pyproject.toml): started Running command Building wheel for xbout (pyproject.toml) /usr/lib/python3.13/site-packages/setuptools_scm/git.py:310: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated !! ******************************************************************************** Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). By 2026-Feb-18, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! corresp(dist, value, root_dir) /usr/lib/python3.13/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! dist._finalize_license_expression() /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: Apache Software License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running bdist_wheel running build running build_py creating build/lib/xbout copying xbout/__init__.py -> build/lib/xbout copying xbout/_version.py -> build/lib/xbout copying xbout/boutdataarray.py -> build/lib/xbout copying xbout/boutdataset.py -> build/lib/xbout copying xbout/conftest.py -> build/lib/xbout copying xbout/fastoutput.py -> build/lib/xbout copying xbout/geometries.py -> build/lib/xbout copying xbout/load.py -> build/lib/xbout copying xbout/region.py -> build/lib/xbout copying xbout/utils.py -> build/lib/xbout creating build/lib/xbout/calc copying xbout/calc/__init__.py -> build/lib/xbout/calc copying xbout/calc/turbulence.py -> build/lib/xbout/calc creating build/lib/xbout/plotting copying xbout/plotting/__init__.py -> build/lib/xbout/plotting copying xbout/plotting/animate.py -> build/lib/xbout/plotting copying xbout/plotting/plotfuncs.py -> build/lib/xbout/plotting copying xbout/plotting/utils.py -> build/lib/xbout/plotting running egg_info writing xbout.egg-info/PKG-INFO writing dependency_links to xbout.egg-info/dependency_links.txt writing requirements to xbout.egg-info/requires.txt writing top-level names to xbout.egg-info/top_level.txt WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files adding license file 'LICENSE' writing manifest file 'xbout.egg-info/SOURCES.txt' /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'xbout.calc.tests' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xbout.calc.tests' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xbout.calc.tests' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xbout.calc.tests' to be distributed and are already explicitly excluding 'xbout.calc.tests' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'xbout.tests' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xbout.tests' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xbout.tests' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xbout.tests' to be distributed and are already explicitly excluding 'xbout.tests' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'xbout.tests.data.options' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xbout.tests.data.options' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xbout.tests.data.options' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xbout.tests.data.options' to be distributed and are already explicitly excluding 'xbout.tests.data.options' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'xbout.tests.data.restart' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xbout.tests.data.restart' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xbout.tests.data.restart' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xbout.tests.data.restart' to be distributed and are already explicitly excluding 'xbout.tests.data.restart' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.13/site-packages/setuptools/command/build_py.py:212: _Warning: Package 'xbout.tests.inputs' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'xbout.tests.inputs' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'xbout.tests.inputs' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'xbout.tests.inputs' to be distributed and are already explicitly excluding 'xbout.tests.inputs' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating build/lib/xbout/tests copying xbout/tests/__init__.py -> build/lib/xbout/tests copying xbout/tests/conftest.py -> build/lib/xbout/tests copying xbout/tests/test_against_collect.py -> build/lib/xbout/tests copying xbout/tests/test_animate.py -> build/lib/xbout/tests copying xbout/tests/test_boutdataarray.py -> build/lib/xbout/tests copying xbout/tests/test_boutdataset.py -> build/lib/xbout/tests copying xbout/tests/test_fastoutput.py -> build/lib/xbout/tests copying xbout/tests/test_geometries.py -> build/lib/xbout/tests copying xbout/tests/test_grid.py -> build/lib/xbout/tests copying xbout/tests/test_init.py -> build/lib/xbout/tests copying xbout/tests/test_load.py -> build/lib/xbout/tests copying xbout/tests/test_plot.py -> build/lib/xbout/tests copying xbout/tests/test_region.py -> build/lib/xbout/tests copying xbout/tests/test_utils.py -> build/lib/xbout/tests copying xbout/tests/utils_for_tests.py -> build/lib/xbout/tests creating build/lib/xbout/tests/data/options copying xbout/tests/data/options/BOUT.inp -> build/lib/xbout/tests/data/options creating build/lib/xbout/tests/data/restart copying xbout/tests/data/restart/BOUT.restart.0.nc -> build/lib/xbout/tests/data/restart copying xbout/tests/data/restart/BOUT.restart.1.nc -> build/lib/xbout/tests/data/restart copying xbout/tests/data/restart/README.md -> build/lib/xbout/tests/data/restart creating build/lib/xbout/tests/inputs copying xbout/tests/inputs/s-alpha.inp -> build/lib/xbout/tests/inputs creating build/lib/xbout/calc/tests copying xbout/calc/tests/test_turbulence.py -> build/lib/xbout/calc/tests installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/xbout copying build/lib/xbout/__init__.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/_version.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/boutdataarray.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/boutdataset.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/conftest.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/fastoutput.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/geometries.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/load.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/region.py -> build/bdist.linux-x86_64/wheel/./xbout copying build/lib/xbout/utils.py -> build/bdist.linux-x86_64/wheel/./xbout creating build/bdist.linux-x86_64/wheel/xbout/calc copying build/lib/xbout/calc/__init__.py -> build/bdist.linux-x86_64/wheel/./xbout/calc copying build/lib/xbout/calc/turbulence.py -> build/bdist.linux-x86_64/wheel/./xbout/calc creating build/bdist.linux-x86_64/wheel/xbout/calc/tests copying build/lib/xbout/calc/tests/test_turbulence.py -> build/bdist.linux-x86_64/wheel/./xbout/calc/tests creating build/bdist.linux-x86_64/wheel/xbout/plotting copying build/lib/xbout/plotting/__init__.py -> build/bdist.linux-x86_64/wheel/./xbout/plotting copying build/lib/xbout/plotting/animate.py -> build/bdist.linux-x86_64/wheel/./xbout/plotting copying build/lib/xbout/plotting/plotfuncs.py -> build/bdist.linux-x86_64/wheel/./xbout/plotting copying build/lib/xbout/plotting/utils.py -> build/bdist.linux-x86_64/wheel/./xbout/plotting creating build/bdist.linux-x86_64/wheel/xbout/tests copying build/lib/xbout/tests/__init__.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/conftest.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_against_collect.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_animate.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_boutdataarray.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_boutdataset.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_fastoutput.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_geometries.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_grid.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_init.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_load.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_plot.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_region.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/test_utils.py -> build/bdist.linux-x86_64/wheel/./xbout/tests copying build/lib/xbout/tests/utils_for_tests.py -> build/bdist.linux-x86_64/wheel/./xbout/tests creating build/bdist.linux-x86_64/wheel/xbout/tests/data creating build/bdist.linux-x86_64/wheel/xbout/tests/data/options copying build/lib/xbout/tests/data/options/BOUT.inp -> build/bdist.linux-x86_64/wheel/./xbout/tests/data/options creating build/bdist.linux-x86_64/wheel/xbout/tests/data/restart copying build/lib/xbout/tests/data/restart/BOUT.restart.0.nc -> build/bdist.linux-x86_64/wheel/./xbout/tests/data/restart copying build/lib/xbout/tests/data/restart/BOUT.restart.1.nc -> build/bdist.linux-x86_64/wheel/./xbout/tests/data/restart copying build/lib/xbout/tests/data/restart/README.md -> build/bdist.linux-x86_64/wheel/./xbout/tests/data/restart creating build/bdist.linux-x86_64/wheel/xbout/tests/inputs copying build/lib/xbout/tests/inputs/s-alpha.inp -> build/bdist.linux-x86_64/wheel/./xbout/tests/inputs running install_egg_info Copying xbout.egg-info to build/bdist.linux-x86_64/wheel/./xbout-0.3.6-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/xbout-0.3.6.dist-info/WHEEL creating '/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir/pip-wheel-csfqpqpj/.tmp-kfy71twp/xbout-0.3.6-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'xbout/__init__.py' adding 'xbout/_version.py' adding 'xbout/boutdataarray.py' adding 'xbout/boutdataset.py' adding 'xbout/conftest.py' adding 'xbout/fastoutput.py' adding 'xbout/geometries.py' adding 'xbout/load.py' adding 'xbout/region.py' adding 'xbout/utils.py' adding 'xbout/calc/__init__.py' adding 'xbout/calc/turbulence.py' adding 'xbout/calc/tests/test_turbulence.py' adding 'xbout/plotting/__init__.py' adding 'xbout/plotting/animate.py' adding 'xbout/plotting/plotfuncs.py' adding 'xbout/plotting/utils.py' adding 'xbout/tests/__init__.py' adding 'xbout/tests/conftest.py' adding 'xbout/tests/test_against_collect.py' adding 'xbout/tests/test_animate.py' adding 'xbout/tests/test_boutdataarray.py' adding 'xbout/tests/test_boutdataset.py' adding 'xbout/tests/test_fastoutput.py' adding 'xbout/tests/test_geometries.py' adding 'xbout/tests/test_grid.py' adding 'xbout/tests/test_init.py' adding 'xbout/tests/test_load.py' adding 'xbout/tests/test_plot.py' adding 'xbout/tests/test_region.py' adding 'xbout/tests/test_utils.py' adding 'xbout/tests/utils_for_tests.py' adding 'xbout/tests/data/options/BOUT.inp' adding 'xbout/tests/data/restart/BOUT.restart.0.nc' adding 'xbout/tests/data/restart/BOUT.restart.1.nc' adding 'xbout/tests/data/restart/README.md' adding 'xbout/tests/inputs/s-alpha.inp' adding 'xbout-0.3.6.dist-info/licenses/LICENSE' adding 'xbout-0.3.6.dist-info/METADATA' adding 'xbout-0.3.6.dist-info/WHEEL' adding 'xbout-0.3.6.dist-info/top_level.txt' adding 'xbout-0.3.6.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for xbout (pyproject.toml): finished with status 'done' Created wheel for xbout: filename=xbout-0.3.6-py3-none-any.whl size=140106 sha256=c75ba861ba0d303bcfbc259095590a5a6b92062223760d6e93035c41d5443a4f Stored in directory: /builddir/.cache/pip/wheels/c6/1a/be/25155f390e63f3ebd7eded5b4709779bc49b302869cf0ef5d8 Successfully built xbout + PYTHONPATH=/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6 + sphinx-build-3 docs html Running Sphinx v8.2.3 loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. [autosummary] generating autosummary for: accessor_methods.rst, api.rst, extending_xbout.rst, index.rst, loading_data.rst [autosummary] generating autosummary for: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.rst [autosummary] generating autosummary for: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.boutdataarray.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.boutdataset.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.calc.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.conftest.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.fastoutput.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.geometries.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.load.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.region.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.utils.rst [autosummary] generating autosummary for: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.boutdataarray.BoutDataArrayAccessor.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.boutdataset.BoutDatasetAccessor.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.calc.turbulence.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.conftest.pytest_addoption.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.conftest.pytest_collection_modifyitems.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.conftest.pytest_configure.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.fastoutput.open_fastoutput.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.geometries.UnregisteredGeometryError.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.geometries.add_fci_geometry_coords.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.geometries.add_s_alpha_geometry_coords.rst, ..., /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_boutdataset.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_fastoutput.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_geometries.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_grid.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_init.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_load.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_plot.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_region.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_utils.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.rst [autosummary] generating autosummary for: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.calc.turbulence.rms.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.animate.animate_line.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.animate.animate_pcolormesh.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.animate.animate_poloidal.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.plotfuncs.plot2d_wrapper.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.plotfuncs.plot3d.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.plotfuncs.plot_regions.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.utils.plot_separatrices.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.utils.plot_separatrix.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.plotting.utils.plot_targets.rst, ..., /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_load.test_check_extensions.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_load.test_set_fci_coords.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_plot.TestPlot.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_region.TestRegion.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.test_utils.TestUtils.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.create_bout_ds.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.create_bout_ds_list.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.create_bout_grid_ds.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.load_example_input.rst, /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/generated/xbout.tests.utils_for_tests.set_geometry_from_input_file.rst loading intersphinx inventory 'python' from https://docs.python.org/3/objects.inv ... loading intersphinx inventory 'numpy' from https://numpy.org/doc/stable/objects.inv ... loading intersphinx inventory 'scipy' from https://docs.scipy.org/doc/scipy/objects.inv ... loading intersphinx inventory 'xarray' from https://docs.xarray.dev/en/latest/objects.inv ... loading intersphinx inventory 'mayavi' from https://docs.enthought.com/mayavi/mayavi/objects.inv ... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://numpy.org/doc/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='numpy.org', port=443): Max retries exceeded with url: /doc/stable/objects.inv (Caused by NameResolutionError(": Failed to resolve 'numpy.org' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.xarray.dev/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.xarray.dev', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.xarray.dev' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.enthought.com/mayavi/mayavi/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.enthought.com', port=443): Max retries exceeded with url: /mayavi/mayavi/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.enthought.com' ([Errno -3] Temporary failure in name resolution)")) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.scipy.org/doc/scipy/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/scipy/objects.inv (Caused by NameResolutionError(": Failed to resolve 'docs.scipy.org' ([Errno -3] Temporary failure in name resolution)")) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 5 source files that are out of date updating environment: [new config] 105 added, 0 changed, 0 removed reading sources... [ 1%] accessor_methods reading sources... [ 2%] api reading sources... [ 3%] extending_xbout reading sources... [ 4%] generated/xbout reading sources... [ 5%] generated/xbout.boutdataarray reading sources... [ 6%] generated/xbout.boutdataarray.BoutDataArrayAccessor reading sources... [ 7%] generated/xbout.boutdataset reading sources... [ 8%] generated/xbout.boutdataset.BoutDatasetAccessor reading sources... [ 9%] generated/xbout.calc reading sources... [ 10%] generated/xbout.calc.turbulence reading sources... [ 10%] generated/xbout.calc.turbulence.rms reading sources... [ 11%] generated/xbout.conftest reading sources... [ 12%] generated/xbout.conftest.pytest_addoption reading sources... [ 13%] generated/xbout.conftest.pytest_collection_modifyitems reading sources... [ 14%] generated/xbout.conftest.pytest_configure reading sources... [ 15%] generated/xbout.fastoutput reading sources... [ 16%] generated/xbout.fastoutput.open_fastoutput reading sources... [ 17%] generated/xbout.geometries reading sources... [ 18%] generated/xbout.geometries.UnregisteredGeometryError reading sources... [ 19%] generated/xbout.geometries.add_fci_geometry_coords reading sources... [ 20%] generated/xbout.geometries.add_s_alpha_geometry_coords reading sources... [ 21%] generated/xbout.geometries.add_toroidal_geometry_coords reading sources... [ 22%] generated/xbout.geometries.apply_geometry reading sources... [ 23%] generated/xbout.geometries.register_geometry reading sources... [ 24%] generated/xbout.load reading sources... [ 25%] generated/xbout.load.collect reading sources... [ 26%] generated/xbout.load.open_boutdataset reading sources... [ 27%] generated/xbout.plotting reading sources... [ 28%] generated/xbout.plotting.animate reading sources... [ 29%] generated/xbout.plotting.animate.animate_line reading sources... [ 30%] generated/xbout.plotting.animate.animate_pcolormesh reading sources... [ 30%] generated/xbout.plotting.animate.animate_poloidal reading sources... [ 31%] generated/xbout.plotting.plotfuncs reading sources... [ 32%] generated/xbout.plotting.plotfuncs.plot2d_wrapper reading sources... [ 33%] generated/xbout.plotting.plotfuncs.plot3d reading sources... [ 34%] generated/xbout.plotting.plotfuncs.plot_regions reading sources... [ 35%] generated/xbout.plotting.utils reading sources... [ 36%] generated/xbout.plotting.utils.plot_separatrices reading sources... [ 37%] generated/xbout.plotting.utils.plot_separatrix reading sources... [ 38%] generated/xbout.plotting.utils.plot_targets reading sources... [ 39%] generated/xbout.region reading sources... [ 40%] generated/xbout.region.Region reading sources... [ 41%] generated/xbout.region.topology_connected_double_null reading sources... [ 42%] generated/xbout.region.topology_core reading sources... [ 43%] generated/xbout.region.topology_limiter reading sources... [ 44%] generated/xbout.region.topology_lower_disconnected_double_null reading sources... [ 45%] generated/xbout.region.topology_single_null reading sources... [ 46%] generated/xbout.region.topology_sol reading sources... [ 47%] generated/xbout.region.topology_upper_disconnected_double_null reading sources... [ 48%] generated/xbout.region.topology_xpoint reading sources... [ 49%] generated/xbout.tests reading sources... [ 50%] generated/xbout.tests.conftest reading sources... [ 50%] generated/xbout.tests.conftest.bout_xyt_example_files reading sources... [ 51%] generated/xbout.tests.conftest.create_example_files_fci reading sources... [ 52%] generated/xbout.tests.conftest.create_example_grid_file_fci reading sources... [ 53%] generated/xbout.tests.test_against_collect reading sources... [ 54%] generated/xbout.tests.test_against_collect.TestAccuracyAgainstOldCollect reading sources... [ 55%] generated/xbout.tests.test_against_collect.test_speed_against_old_collect reading sources... [ 56%] generated/xbout.tests.test_animate reading sources... [ 57%] generated/xbout.tests.test_animate.TestAnimate reading sources... [ 58%] generated/xbout.tests.test_animate.create_test_file reading sources... [ 59%] generated/xbout.tests.test_boutdataarray reading sources... [ 60%] generated/xbout.tests.test_boutdataarray.TestBoutDataArrayMethods reading sources... [ 61%] generated/xbout.tests.test_boutdataset reading sources... [ 62%] generated/xbout.tests.test_boutdataset.TestBoutDatasetIsXarrayDataset reading sources... [ 63%] generated/xbout.tests.test_boutdataset.TestBoutDatasetMethods reading sources... [ 64%] generated/xbout.tests.test_boutdataset.TestLoadInputFile reading sources... [ 65%] generated/xbout.tests.test_boutdataset.TestLoadLogFile reading sources... [ 66%] generated/xbout.tests.test_boutdataset.TestSave reading sources... [ 67%] generated/xbout.tests.test_boutdataset.TestSaveRestart reading sources... [ 68%] generated/xbout.tests.test_fastoutput reading sources... [ 69%] generated/xbout.tests.test_fastoutput.TestFastOutput reading sources... [ 70%] generated/xbout.tests.test_fastoutput.make_fastoutput reading sources... [ 70%] generated/xbout.tests.test_fastoutput.make_fastoutput_set reading sources... [ 71%] generated/xbout.tests.test_geometries reading sources... [ 72%] generated/xbout.tests.test_geometries.TestGeometryRegistration reading sources... [ 73%] generated/xbout.tests.test_grid reading sources... [ 74%] generated/xbout.tests.test_grid.TestOpenGrid reading sources... [ 75%] generated/xbout.tests.test_grid.create_example_grid_file reading sources... [ 76%] generated/xbout.tests.test_init reading sources... [ 77%] generated/xbout.tests.test_init.test_version reading sources... [ 78%] generated/xbout.tests.test_load reading sources... [ 79%] generated/xbout.tests.test_load.TestArrange reading sources... [ 80%] generated/xbout.tests.test_load.TestOpen reading sources... [ 81%] generated/xbout.tests.test_load.TestPathHandling reading sources... [ 82%] generated/xbout.tests.test_load.TestStripMetadata reading sources... [ 83%] generated/xbout.tests.test_load.TestTrim reading sources... [ 84%] generated/xbout.tests.test_load.create_filepaths reading sources... [ 85%] generated/xbout.tests.test_load.test_check_extensions reading sources... [ 86%] generated/xbout.tests.test_load.test_set_fci_coords reading sources... [ 87%] generated/xbout.tests.test_plot reading sources... [ 88%] generated/xbout.tests.test_plot.TestPlot reading sources... [ 89%] generated/xbout.tests.test_region reading sources... [ 90%] generated/xbout.tests.test_region.TestRegion reading sources... [ 90%] generated/xbout.tests.test_utils reading sources... [ 91%] generated/xbout.tests.test_utils.TestUtils reading sources... [ 92%] generated/xbout.tests.utils_for_tests reading sources... [ 93%] generated/xbout.tests.utils_for_tests.create_bout_ds reading sources... [ 94%] generated/xbout.tests.utils_for_tests.create_bout_ds_list reading sources... [ 95%] generated/xbout.tests.utils_for_tests.create_bout_grid_ds reading sources... [ 96%] generated/xbout.tests.utils_for_tests.load_example_input reading sources... [ 97%] generated/xbout.tests.utils_for_tests.set_geometry_from_input_file reading sources... [ 98%] generated/xbout.utils reading sources... [ 99%] index reading sources... [100%] loading_data looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... WARNING: unsupported theme option 'repository_url' given WARNING: unsupported theme option 'repository_branch' given WARNING: unsupported theme option 'path_to_docs' given WARNING: unsupported theme option 'use_edit_page_button' given WARNING: unsupported theme option 'use_repository_button' given done copying assets... WARNING: unsupported theme option 'use_issues_button' given WARNING: unsupported theme option 'home_page_in_toc' given copying static files... Writing evaluated template result to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/html/_static/basic.css Writing evaluated template result to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/html/_static/documentation_options.js Writing evaluated template result to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/html/_static/language_data.js Writing evaluated template result to /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/html/_static/alabaster.css copying static files: done copying extra files... copying extra files: done copying assets: done writing output... [ 1%] accessor_methods writing output... [ 2%] api writing output... [ 3%] extending_xbout writing output... [ 4%] generated/xbout writing output... [ 5%] generated/xbout.boutdataarray writing output... [ 6%] generated/xbout.boutdataarray.BoutDataArrayAccessor writing output... [ 7%] generated/xbout.boutdataset writing output... [ 8%] generated/xbout.boutdataset.BoutDatasetAccessor writing output... [ 9%] generated/xbout.calc writing output... [ 10%] generated/xbout.calc.turbulence writing output... [ 10%] generated/xbout.calc.turbulence.rms writing output... [ 11%] generated/xbout.conftest writing output... [ 12%] generated/xbout.conftest.pytest_addoption writing output... [ 13%] generated/xbout.conftest.pytest_collection_modifyitems writing output... [ 14%] generated/xbout.conftest.pytest_configure writing output... [ 15%] generated/xbout.fastoutput writing output... [ 16%] generated/xbout.fastoutput.open_fastoutput writing output... [ 17%] generated/xbout.geometries writing output... [ 18%] generated/xbout.geometries.UnregisteredGeometryError writing output... [ 19%] generated/xbout.geometries.add_fci_geometry_coords writing output... [ 20%] generated/xbout.geometries.add_s_alpha_geometry_coords writing output... [ 21%] generated/xbout.geometries.add_toroidal_geometry_coords writing output... [ 22%] generated/xbout.geometries.apply_geometry writing output... [ 23%] generated/xbout.geometries.register_geometry writing output... [ 24%] generated/xbout.load writing output... [ 25%] generated/xbout.load.collect writing output... [ 26%] generated/xbout.load.open_boutdataset writing output... [ 27%] generated/xbout.plotting writing output... [ 28%] generated/xbout.plotting.animate writing output... [ 29%] generated/xbout.plotting.animate.animate_line writing output... [ 30%] generated/xbout.plotting.animate.animate_pcolormesh writing output... [ 30%] generated/xbout.plotting.animate.animate_poloidal writing output... [ 31%] generated/xbout.plotting.plotfuncs writing output... [ 32%] generated/xbout.plotting.plotfuncs.plot2d_wrapper writing output... [ 33%] generated/xbout.plotting.plotfuncs.plot3d writing output... [ 34%] generated/xbout.plotting.plotfuncs.plot_regions writing output... [ 35%] generated/xbout.plotting.utils writing output... [ 36%] generated/xbout.plotting.utils.plot_separatrices writing output... [ 37%] generated/xbout.plotting.utils.plot_separatrix writing output... [ 38%] generated/xbout.plotting.utils.plot_targets writing output... [ 39%] generated/xbout.region writing output... [ 40%] generated/xbout.region.Region writing output... [ 41%] generated/xbout.region.topology_connected_double_null writing output... [ 42%] generated/xbout.region.topology_core writing output... [ 43%] generated/xbout.region.topology_limiter writing output... [ 44%] generated/xbout.region.topology_lower_disconnected_double_null writing output... [ 45%] generated/xbout.region.topology_single_null writing output... [ 46%] generated/xbout.region.topology_sol writing output... [ 47%] generated/xbout.region.topology_upper_disconnected_double_null writing output... [ 48%] generated/xbout.region.topology_xpoint writing output... [ 49%] generated/xbout.tests writing output... [ 50%] generated/xbout.tests.conftest writing output... [ 50%] generated/xbout.tests.conftest.bout_xyt_example_files writing output... [ 51%] generated/xbout.tests.conftest.create_example_files_fci writing output... [ 52%] generated/xbout.tests.conftest.create_example_grid_file_fci writing output... [ 53%] generated/xbout.tests.test_against_collect writing output... [ 54%] generated/xbout.tests.test_against_collect.TestAccuracyAgainstOldCollect writing output... [ 55%] generated/xbout.tests.test_against_collect.test_speed_against_old_collect writing output... [ 56%] generated/xbout.tests.test_animate writing output... [ 57%] generated/xbout.tests.test_animate.TestAnimate writing output... [ 58%] generated/xbout.tests.test_animate.create_test_file writing output... [ 59%] generated/xbout.tests.test_boutdataarray writing output... [ 60%] generated/xbout.tests.test_boutdataarray.TestBoutDataArrayMethods writing output... [ 61%] generated/xbout.tests.test_boutdataset writing output... [ 62%] generated/xbout.tests.test_boutdataset.TestBoutDatasetIsXarrayDataset writing output... [ 63%] generated/xbout.tests.test_boutdataset.TestBoutDatasetMethods writing output... [ 64%] generated/xbout.tests.test_boutdataset.TestLoadInputFile writing output... [ 65%] generated/xbout.tests.test_boutdataset.TestLoadLogFile writing output... [ 66%] generated/xbout.tests.test_boutdataset.TestSave writing output... [ 67%] generated/xbout.tests.test_boutdataset.TestSaveRestart writing output... [ 68%] generated/xbout.tests.test_fastoutput writing output... [ 69%] generated/xbout.tests.test_fastoutput.TestFastOutput writing output... [ 70%] generated/xbout.tests.test_fastoutput.make_fastoutput writing output... [ 70%] generated/xbout.tests.test_fastoutput.make_fastoutput_set writing output... [ 71%] generated/xbout.tests.test_geometries writing output... [ 72%] generated/xbout.tests.test_geometries.TestGeometryRegistration writing output... [ 73%] generated/xbout.tests.test_grid writing output... [ 74%] generated/xbout.tests.test_grid.TestOpenGrid writing output... [ 75%] generated/xbout.tests.test_grid.create_example_grid_file writing output... [ 76%] generated/xbout.tests.test_init writing output... [ 77%] generated/xbout.tests.test_init.test_version writing output... [ 78%] generated/xbout.tests.test_load writing output... [ 79%] generated/xbout.tests.test_load.TestArrange writing output... [ 80%] generated/xbout.tests.test_load.TestOpen writing output... [ 81%] generated/xbout.tests.test_load.TestPathHandling writing output... [ 82%] generated/xbout.tests.test_load.TestStripMetadata writing output... [ 83%] generated/xbout.tests.test_load.TestTrim writing output... [ 84%] generated/xbout.tests.test_load.create_filepaths writing output... [ 85%] generated/xbout.tests.test_load.test_check_extensions writing output... [ 86%] generated/xbout.tests.test_load.test_set_fci_coords writing output... [ 87%] generated/xbout.tests.test_plot writing output... [ 88%] generated/xbout.tests.test_plot.TestPlot writing output... [ 89%] generated/xbout.tests.test_region writing output... [ 90%] generated/xbout.tests.test_region.TestRegion writing output... [ 90%] generated/xbout.tests.test_utils writing output... [ 91%] generated/xbout.tests.test_utils.TestUtils writing output... [ 92%] generated/xbout.tests.utils_for_tests writing output... [ 93%] generated/xbout.tests.utils_for_tests.create_bout_ds writing output... [ 94%] generated/xbout.tests.utils_for_tests.create_bout_ds_list writing output... [ 95%] generated/xbout.tests.utils_for_tests.create_bout_grid_ds writing output... [ 96%] generated/xbout.tests.utils_for_tests.load_example_input writing output... [ 97%] generated/xbout.tests.utils_for_tests.set_geometry_from_input_file writing output... [ 98%] generated/xbout.utils writing output... [ 99%] index writing output... [100%] loading_data /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/accessor_methods.rst:4: WARNING: 'any' reference target not found: xarray.Dataset [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/accessor_methods.rst:4: WARNING: 'any' reference target not found: xarray.DataArray [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataarray.py:docstring of xbout.boutdataarray.BoutDataArrayAccessor:4: WARNING: 'any' reference target not found: BoutOptionsFile [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataarray.py:docstring of xbout.boutdataarray.BoutDataArrayAccessor.interpolate_to_cartesian:3: WARNING: 'any' reference target not found: numpy.float32 [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataarray.py:docstring of xbout.boutdataarray.BoutDataArrayAccessor.interpolate_to_cartesian:14: WARNING: 'any' reference target not found: numpy.float32 [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataarray.py:docstring of xbout.boutdataarray.BoutDataArrayAccessor.interpolate_to_cartesian:16: WARNING: 'any' reference target not found: scipy.interpolate.RegularGridInterpolator [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataset.py:docstring of xbout.boutdataset.BoutDatasetAccessor:4: WARNING: 'any' reference target not found: BoutOptionsFile [ref.any] generating indices... /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataset.py:docstring of xbout.boutdataset.BoutDatasetAccessor.integrate_midpoints:36: WARNING: 'any' reference target not found: ... [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataset.py:docstring of xbout.boutdataset.BoutDatasetAccessor.interpolate_to_cartesian:3: WARNING: 'any' reference target not found: numpy.float32 [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataset.py:docstring of xbout.boutdataset.BoutDatasetAccessor.interpolate_to_cartesian:18: WARNING: 'any' reference target not found: numpy.float32 [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/boutdataset.py:docstring of xbout.boutdataset.BoutDatasetAccessor.interpolate_to_cartesian:21: WARNING: 'any' reference target not found: scipy.interpolate.RegularGridInterpolator [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:docstring of xbout.load.open_boutdataset:20: WARNING: 'any' reference target not found: xarray.open_dataset [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:docstring of xbout.load.open_boutdataset:94: WARNING: 'any' reference target not found: xarray.open_mfdataset [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:docstring of xbout.load.open_boutdataset:94: WARNING: 'any' reference target not found: xarray.open_dataset [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/plotting/plotfuncs.py:docstring of xbout.plotting.plotfuncs.plot2d_wrapper:3: WARNING: 'any' reference target not found: xarray.DataArray.plot [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/plotting/plotfuncs.py:docstring of xbout.plotting.plotfuncs.plot3d:68: WARNING: 'any' reference target not found: mayavi.mlab.view [ref.any] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/docs/loading_data.rst:12: WARNING: 'any' reference target not found: xarray.Dataset [ref.any] genindex py-modindex done highlighting module code... [ 4%] xbout.boutdataarray highlighting module code... [ 8%] xbout.boutdataset highlighting module code... [ 12%] xbout.calc.turbulence highlighting module code... [ 16%] xbout.conftest highlighting module code... [ 20%] xbout.fastoutput highlighting module code... [ 24%] xbout.geometries highlighting module code... [ 28%] xbout.load highlighting module code... [ 32%] xbout.plotting.animate highlighting module code... [ 36%] xbout.plotting.plotfuncs highlighting module code... [ 40%] xbout.plotting.utils highlighting module code... [ 44%] xbout.region highlighting module code... [ 48%] xbout.tests.conftest highlighting module code... [ 52%] xbout.tests.test_against_collect highlighting module code... [ 56%] xbout.tests.test_animate highlighting module code... [ 60%] xbout.tests.test_boutdataarray highlighting module code... [ 64%] xbout.tests.test_boutdataset highlighting module code... [ 68%] xbout.tests.test_fastoutput highlighting module code... [ 72%] xbout.tests.test_geometries highlighting module code... [ 76%] xbout.tests.test_grid highlighting module code... [ 80%] xbout.tests.test_init highlighting module code... [ 84%] xbout.tests.test_load highlighting module code... [ 88%] xbout.tests.test_plot highlighting module code... [ 92%] xbout.tests.test_region highlighting module code... [ 96%] xbout.tests.test_utils highlighting module code... [100%] xbout.tests.utils_for_tests writing additional pages... search done copying images... [100%] images/n_over_t.gif dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 29 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KCAzye + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + '[' /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-xbout-0.3.6-build + mkdir /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xbout-0.3.6 ++ ls /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/pyproject-wheeldir/xbout-0.3.6-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=xbout==0.3.6 + '[' -z xbout==0.3.6 ']' + TMPDIR=/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/pyproject-wheeldir xbout==0.3.6 Using pip 25.0.1 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/pyproject-wheeldir Processing ./pyproject-wheeldir/xbout-0.3.6-py3-none-any.whl Installing collected packages: xbout Successfully installed xbout-0.3.6 + '[' -d /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/bin ']' + rm -f /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + site_dirs+=("/usr/lib/python3.13/site-packages") + '[' /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT --record /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/RECORD --output /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-record + rm -fv /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/RECORD removed '/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/REQUESTED removed '/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout-0.3.6.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-files --output-modules /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-modules --buildroot /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-xbout-0.3.6-build/python-xbout-0.3.6-5.fc43.x86_64-pyproject-record --prefix /usr xbout + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 Bytecompiling .py files below /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/calc/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/plotting/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/calc/__pycache__/turbulence.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/calc/tests/__pycache__/test_turbulence.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/plotting/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/plotting/__pycache__/animate.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/plotting/__pycache__/plotfuncs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_against_collect.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_fastoutput.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_geometries.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_grid.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_init.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_animate.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_plot.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_boutdataarray.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_utils.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/utils_for_tests.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_region.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_against_collect.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_geometries.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_init.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_boutdataset.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_load.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_utils.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_animate.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_fastoutput.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/_version.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_boutdataarray.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/boutdataarray.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/conftest.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/fastoutput.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_load.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/geometries.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/boutdataset.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/load.cpython-313.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/region.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/tests/__pycache__/test_boutdataset.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/geometries.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/utils.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages/xbout/__pycache__/load.cpython-313.opt-1.pyc: replacing with normalized version Scanned 21 directories and 106 files, processed 43 inodes, 43 modified (22 replaced + 21 rewritten), 0 unsupported format, 0 errors Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rcTgPw + umask 022 + cd /builddir/build/BUILD/python-xbout-0.3.6-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xbout-0.3.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest xbout --long --durations=0 ============================= test session starts ============================== platform linux -- Python 3.13.3, pytest-8.3.5, pluggy-1.5.0 rootdir: /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6 configfile: pyproject.toml collected 796 items xbout/calc/tests/test_turbulence.py ..... [ 0%] xbout/tests/test_against_collect.py FFFFF... [ 1%] xbout/tests/test_animate.py EEEEEEEEEEEEEEEEEEEEEEEsEEEEEEEEEEEEEEE [ 6%] xbout/tests/test_boutdataarray.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 11%] FFFFFFFFFFFFFFFFFF [ 13%] xbout/tests/test_boutdataset.py FFFFFFFFFFFFFFFFFFFFFF.FFFFFFFFFFFFFFFFF [ 18%] FFFFFFFFFFFFFFFFFFFFFFFFFFssFFFFFFFFFFFFFFFFFFF [ 24%] xbout/tests/test_fastoutput.py . [ 24%] xbout/tests/test_geometries.py .. [ 24%] xbout/tests/test_grid.py ..... [ 25%] xbout/tests/test_init.py . [ 25%] xbout/tests/test_load.py ..........................FFFFFFFFFFFFsFF....FF [ 31%] Fs...................................................................... [ 40%] ............ [ 42%] xbout/tests/test_plot.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 47%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 57%] FFFFFFFFFFFFFFFFFFFFFFFFF [ 60%] xbout/tests/test_region.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 65%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 74%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 83%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 92%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 98%] xbout/tests/test_utils.py ............. [100%] ==================================== ERRORS ==================================== _________________ ERROR at setup of TestAnimate.test_animate2D _________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cd46a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls0] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117ab1ea0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls1] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111791ac80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls2] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d3a080> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls3] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115df1360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls4] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165e4ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate2D_controls_arg[controls5] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117b09960> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________________ ERROR at setup of TestAnimate.test_animate1D _________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e8f520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls0] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115ed3340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls1] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11164ad480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls2] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cd4040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls3] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b171c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls4] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11178fba00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ ERROR at setup of TestAnimate.test_animate1D_controls_arg[controls5] _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e48dc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _______________ ERROR at setup of TestAnimate.test_animate_list ________________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c20ca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ ERROR at setup of TestAnimate.test_animate_list_1d_default __________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b37c40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________ ERROR at setup of TestAnimate.test_animate_list_1d_multiline _________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c230a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________ ERROR at setup of TestAnimate.test_animate_list_animate_over _________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e17ca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ ERROR at setup of TestAnimate.test_animate_list_save_as ____________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11159c02e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ ERROR at setup of TestAnimate.test_animate_list_fps ______________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e8c940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ ERROR at setup of TestAnimate.test_animate_list_nrows _____________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111627f820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ ERROR at setup of TestAnimate.test_animate_list_ncols _____________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115ec6200> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____ ERROR at setup of TestAnimate.test_animate_list_not_enough_nrowsncols _____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc05e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _______ ERROR at setup of TestAnimate.test_animate_list_subplots_adjust ________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c2ca00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ ERROR at setup of TestAnimate.test_animate_list_vmin _____________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d028c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ ERROR at setup of TestAnimate.test_animate_list_vmin_list ___________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c5d6c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ ERROR at setup of TestAnimate.test_animate_list_vmax _____________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11159d0100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ ERROR at setup of TestAnimate.test_animate_list_vmax_list ___________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d16b60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ ERROR at setup of TestAnimate.test_animate_list_logscale ___________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111757f340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________ ERROR at setup of TestAnimate.test_animate_list_logscale_float ________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111591f520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________ ERROR at setup of TestAnimate.test_animate_list_logscale_list _________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117a41360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________ ERROR at setup of TestAnimate.test_animate_list_titles_list __________ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11161228c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls0] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111629a320> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls1] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d39540> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls2] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11170d21a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls3] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b166e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls4] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11175a7820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ ERROR at setup of TestAnimate.test_animate_list_controls_arg[controls5] ____ tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') @pytest.fixture def create_test_file(tmp_path_factory): # Create temp dir for output of animate1D/2D save_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for ds, file_name in zip(ds_list, file_list): ds.to_netcdf(save_dir.joinpath(file_name)) with pytest.warns(UserWarning): > ds = open_boutdataset(save_dir.joinpath("BOUT.dmp.*.nc")) # Open test data xbout/tests/test_animate.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc3fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError =================================== FAILURES =================================== ________________ TestAccuracyAgainstOldCollect.test_single_file ________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') def test_single_file(self, tmp_path_factory): # Create temp directory for files test_dir = tmp_path_factory.mktemp("test_data") # Generate some test data generated_ds = create_bout_ds(syn_data_type="linear") generated_ds.to_netcdf(test_dir.joinpath("BOUT.dmp.0.nc")) var = "n" expected = old_collect(var, path=test_dir, xguards=True, yguards=False) # Test against new standard - open_boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(test_dir.joinpath("BOUT.dmp.0.nc")) xbout/tests/test_against_collect.py:26: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115aa3880> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- mxsub = 2 mysub = 4 mz = 7 nxpe = 1, nype = 1, npes = 1 Reading from 0: [0-1][0-3] -> [0-1][0-3] __________ TestAccuracyAgainstOldCollect.test_multiple_files_along_x ___________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') def test_multiple_files_along_x(self, tmp_path_factory): # Create temp directory for files test_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=1, syn_data_type="linear" ) for temp_ds, file_name in zip(ds_list, file_list): temp_ds.to_netcdf(test_dir.joinpath(file_name)) var = "n" expected = old_collect(var, path=test_dir, prefix="BOUT.dmp", xguards=True) # Test against new standard - open_boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(test_dir.joinpath("BOUT.dmp.*.nc")) xbout/tests/test_against_collect.py:54: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111590d480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- mxsub = 2 mysub = 4 mz = 7 nxpe = 3, nype = 1, npes = 3 Reading from 0: [0-1][0-3] -> [0-1][0-3] Reading from 1: [0-1][0-3] -> [2-3][0-3] Reading from 2: [0-1][0-3] -> [4-5][0-3] __________ TestAccuracyAgainstOldCollect.test_multiple_files_along_y ___________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') def test_multiple_files_along_y(self, tmp_path_factory): # Create temp directory for files test_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=1, nype=3, syn_data_type="linear" ) for temp_ds, file_name in zip(ds_list, file_list): temp_ds.to_netcdf(test_dir.joinpath(file_name)) var = "n" expected = old_collect(var, path=test_dir, prefix="BOUT.dmp", xguards=True) # Test against new standard - .open_boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(test_dir.joinpath("BOUT.dmp.*.nc")) xbout/tests/test_against_collect.py:82: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11175505e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- mxsub = 2 mysub = 4 mz = 7 nxpe = 1, nype = 3, npes = 3 Reading from 0: [0-1][0-3] -> [0-1][0-3] Reading from 1: [0-1][0-3] -> [0-1][4-7] Reading from 2: [0-1][0-3] -> [0-1][8-11] __________ TestAccuracyAgainstOldCollect.test_multiple_files_along_xy __________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') def test_multiple_files_along_xy(self, tmp_path_factory): # Create temp directory for files test_dir = tmp_path_factory.mktemp("test_data") # Generate some test data ds_list, file_list = create_bout_ds_list( "BOUT.dmp", nxpe=3, nype=3, syn_data_type="linear" ) for temp_ds, file_name in zip(ds_list, file_list): temp_ds.to_netcdf(test_dir.joinpath(file_name)) var = "n" expected = old_collect(var, path=test_dir, prefix="BOUT.dmp", xguards=True) # Test against new standard - .open_boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(test_dir.joinpath("BOUT.dmp.*.nc")) xbout/tests/test_against_collect.py:110: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c2d840> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- mxsub = 2 mysub = 4 mz = 7 nxpe = 3, nype = 3, npes = 9 Reading from 0: [0-1][0-3] -> [0-1][0-3] Reading from 1: [0-1][0-3] -> [2-3][0-3] Reading from 2: [0-1][0-3] -> [4-5][0-3] Reading from 3: [0-1][0-3] -> [0-1][4-7] Reading from 4: [0-1][0-3] -> [2-3][4-7] Reading from 5: [0-1][0-3] -> [4-5][4-7] Reading from 6: [0-1][0-3] -> [0-1][8-11] Reading from 7: [0-1][0-3] -> [2-3][8-11] Reading from 8: [0-1][0-3] -> [4-5][8-11] _________________ TestAccuracyAgainstOldCollect.test_metadata __________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') def test_metadata(self, tmp_path_factory): # Create temp directory for files test_dir = tmp_path_factory.mktemp("test_data") # Generate some test data generated_ds = create_bout_ds(syn_data_type="linear") generated_ds.to_netcdf(test_dir.joinpath("BOUT.dmp.0.nc")) with pytest.warns(UserWarning): > ds = open_boutdataset(test_dir.joinpath("BOUT.dmp.*.nc")) xbout/tests/test_against_collect.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11175b9a80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________________ TestBoutDataArrayMethods.test_to_dataset ___________________ self = bout_xyt_example_files = def test_to_dataset(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files(None, nxpe=3, nype=4, nt=1) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111617cfa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________ TestBoutDataArrayMethods.test_remove_yboundaries[False-0-0] __________ self = bout_xyt_example_files = mxg = 0, myg = 0, remove_extra_upper = False @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115ed1660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _________ TestBoutDataArrayMethods.test_remove_yboundaries[False-0-2] __________ self = bout_xyt_example_files = mxg = 2, myg = 0, remove_extra_upper = False @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115f6ef80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _________ TestBoutDataArrayMethods.test_remove_yboundaries[False-2-0] __________ self = bout_xyt_example_files = mxg = 0, myg = 2, remove_extra_upper = False @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d3ee00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _________ TestBoutDataArrayMethods.test_remove_yboundaries[False-2-2] __________ self = bout_xyt_example_files = mxg = 2, myg = 2, remove_extra_upper = False @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115bf2e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __________ TestBoutDataArrayMethods.test_remove_yboundaries[True-0-0] __________ self = bout_xyt_example_files = mxg = 0, myg = 0, remove_extra_upper = True @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11170056c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __________ TestBoutDataArrayMethods.test_remove_yboundaries[True-0-2] __________ self = bout_xyt_example_files = mxg = 2, myg = 0, remove_extra_upper = True @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e879a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __________ TestBoutDataArrayMethods.test_remove_yboundaries[True-2-0] __________ self = bout_xyt_example_files = mxg = 0, myg = 2, remove_extra_upper = True @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e42e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __________ TestBoutDataArrayMethods.test_remove_yboundaries[True-2-2] __________ self = bout_xyt_example_files = mxg = 2, myg = 2, remove_extra_upper = True @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) @pytest.mark.parametrize( "remove_extra_upper", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_remove_yboundaries( self, bout_xyt_example_files, mxg, myg, remove_extra_upper ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b88760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ___________ TestBoutDataArrayMethods.test_to_field_aligned[False-6] ____________ self = bout_xyt_example_files = nz = 6, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b64760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_to_field_aligned[False-7] ____________ self = bout_xyt_example_files = nz = 7, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117006740> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_to_field_aligned[False-8] ____________ self = bout_xyt_example_files = nz = 8, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d3d840> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_to_field_aligned[False-9] ____________ self = bout_xyt_example_files = nz = 9, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dd41c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestBoutDataArrayMethods.test_to_field_aligned[True-6] ____________ self = bout_xyt_example_files = nz = 6, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b22ce0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestBoutDataArrayMethods.test_to_field_aligned[True-7] ____________ self = bout_xyt_example_files = nz = 7, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dd6ce0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestBoutDataArrayMethods.test_to_field_aligned[True-8] ____________ self = bout_xyt_example_files = nz = 8, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115f6e7a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestBoutDataArrayMethods.test_to_field_aligned[True-9] ____________ self = bout_xyt_example_files = nz = 9, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:107: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dd77c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_to_field_aligned_dask[False] __________ self = bout_xyt_example_files = permute_dims = False @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_dask(self, bout_xyt_example_files, permute_dims): nz = 6 dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11161e8340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_to_field_aligned_dask[True] ___________ self = bout_xyt_example_files = permute_dims = True @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_dask(self, bout_xyt_example_files, permute_dims): nz = 6 dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dd7fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_from_field_aligned[False-6] ___________ self = bout_xyt_example_files = nz = 6, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b36e60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_from_field_aligned[False-7] ___________ self = bout_xyt_example_files = nz = 7, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117a5bac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_from_field_aligned[False-8] ___________ self = bout_xyt_example_files = nz = 8, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e48520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDataArrayMethods.test_from_field_aligned[False-9] ___________ self = bout_xyt_example_files = nz = 9, permute_dims = False @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117007fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_from_field_aligned[True-6] ___________ self = bout_xyt_example_files = nz = 6, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c2e6e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_from_field_aligned[True-7] ___________ self = bout_xyt_example_files = nz = 7, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117a5b100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_from_field_aligned[True-8] ___________ self = bout_xyt_example_files = nz = 8, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115930fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_from_field_aligned[True-9] ___________ self = bout_xyt_example_files = nz = 9, permute_dims = True @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned(self, bout_xyt_example_files, nz, permute_dims): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:337: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e61960> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_to_field_aligned_staggered[False-CELL_XLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_XLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115bc9cc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_to_field_aligned_staggered[False-CELL_YLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_YLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dda980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_to_field_aligned_staggered[False-CELL_ZLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165e62c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ TestBoutDataArrayMethods.test_to_field_aligned_staggered[True-CELL_XLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_XLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11161d2c20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ TestBoutDataArrayMethods.test_to_field_aligned_staggered[True-CELL_YLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_YLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111791bb80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ TestBoutDataArrayMethods.test_to_field_aligned_staggered[True-CELL_ZLOW] ___ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_to_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:447: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e2bca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _ TestBoutDataArrayMethods.test_from_field_aligned_staggered[False-CELL_XLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_XLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115ec43a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _ TestBoutDataArrayMethods.test_from_field_aligned_staggered[False-CELL_YLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_YLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115df00a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _ TestBoutDataArrayMethods.test_from_field_aligned_staggered[False-CELL_ZLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW', permute_dims = False @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117904700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_from_field_aligned_staggered[True-CELL_XLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_XLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dda740> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_from_field_aligned_staggered[True-CELL_YLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_YLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d8d5a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __ TestBoutDataArrayMethods.test_from_field_aligned_staggered[True-CELL_ZLOW] __ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW', permute_dims = True @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) @pytest.mark.parametrize( "permute_dims", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_from_field_aligned_staggered( self, bout_xyt_example_files, stag_location, permute_dims ): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:510: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11161d0a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________ TestBoutDataArrayMethods.test_interpolate_parallel_region_core ________ self = bout_xyt_example_files = @pytest.mark.long def test_interpolate_parallel_region_core(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:577: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115ed31c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __ TestBoutDataArrayMethods.test_interpolate_parallel_region_core_change_n[2] __ self = bout_xyt_example_files = res_factor = 2 @pytest.mark.parametrize( "res_factor", [ pytest.param(2, marks=pytest.mark.long), 3, pytest.param(7, marks=pytest.mark.long), pytest.param(18, marks=pytest.mark.long), ], ) def test_interpolate_parallel_region_core_change_n( self, bout_xyt_example_files, res_factor ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115df12a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __ TestBoutDataArrayMethods.test_interpolate_parallel_region_core_change_n[3] __ self = bout_xyt_example_files = res_factor = 3 @pytest.mark.parametrize( "res_factor", [ pytest.param(2, marks=pytest.mark.long), 3, pytest.param(7, marks=pytest.mark.long), pytest.param(18, marks=pytest.mark.long), ], ) def test_interpolate_parallel_region_core_change_n( self, bout_xyt_example_files, res_factor ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11161eaaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __ TestBoutDataArrayMethods.test_interpolate_parallel_region_core_change_n[7] __ self = bout_xyt_example_files = res_factor = 7 @pytest.mark.parametrize( "res_factor", [ pytest.param(2, marks=pytest.mark.long), 3, pytest.param(7, marks=pytest.mark.long), pytest.param(18, marks=pytest.mark.long), ], ) def test_interpolate_parallel_region_core_change_n( self, bout_xyt_example_files, res_factor ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dd4ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDataArrayMethods.test_interpolate_parallel_region_core_change_n[18] __ self = bout_xyt_example_files = res_factor = 18 @pytest.mark.parametrize( "res_factor", [ pytest.param(2, marks=pytest.mark.long), 3, pytest.param(7, marks=pytest.mark.long), pytest.param(18, marks=pytest.mark.long), ], ) def test_interpolate_parallel_region_core_change_n( self, bout_xyt_example_files, res_factor ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:635: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115bf2920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestBoutDataArrayMethods.test_interpolate_parallel_region_sol _________ self = bout_xyt_example_files = @pytest.mark.long def test_interpolate_parallel_region_sol(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:687: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e0e560> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____ TestBoutDataArrayMethods.test_interpolate_parallel_region_singlenull _____ self = bout_xyt_example_files = def test_interpolate_parallel_region_singlenull(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=3, nt=1, grid="grid", guards={"y": 2}, topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:734: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc1120> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestBoutDataArrayMethods.test_interpolate_parallel ______________ self = bout_xyt_example_files = def test_interpolate_parallel(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=3, nt=1, grid="grid", guards={"y": 2}, topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:806: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111621e4a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestBoutDataArrayMethods.test_interpolate_parallel_sol ____________ self = bout_xyt_example_files = def test_interpolate_parallel_sol(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=1, nt=1, grid="grid", guards={"y": 2}, topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:860: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117002da0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______ TestBoutDataArrayMethods.test_interpolate_parallel_toroidal_points ______ self = bout_xyt_example_files = def test_interpolate_parallel_toroidal_points(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=3, nt=1, grid="grid", guards={"y": 2}, topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:912: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11164af340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ___ TestBoutDataArrayMethods.test_interpolate_parallel_toroidal_points_list ____ self = bout_xyt_example_files = def test_interpolate_parallel_toroidal_points_list(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 16, 3), nxpe=1, nype=3, nt=1, grid="grid", guards={"y": 2}, topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:937: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11178f9000> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestBoutDataArrayMethods.test_interpolate_to_cartesian ____________ self = bout_xyt_example_files = def test_interpolate_to_cartesian(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files( None, lengths=(2, 16, 17, 18), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:959: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e0cb80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________ TestBoutDataArrayMethods.test_add_cartesian_coordinates ____________ self = bout_xyt_example_files = def test_add_cartesian_coordinates(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files(None, nxpe=1, nype=1, nt=1) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataarray.py:999: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111623a500> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________________ TestBoutDataArrayMethods.test_ddx _______________________ self = bout_xyt_example_files = def test_ddx(self, bout_xyt_example_files): nx = 64 dataset_list = bout_xyt_example_files( None, lengths=(2, nx, 4, 3), nxpe=1, nype=1, ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, ) xbout/tests/test_boutdataarray.py:1044: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11170df400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________________ TestBoutDataArrayMethods.test_ddy _______________________ self = bout_xyt_example_files = def test_ddy(self, bout_xyt_example_files): ny = 64 dataset_list, gridfilepath = bout_xyt_example_files( None, lengths=(2, 3, ny, 4), nxpe=1, nype=1, grid="grid", ) > ds = open_boutdataset( datapath=dataset_list, geometry="toroidal", gridfilepath=gridfilepath ) xbout/tests/test_boutdataarray.py:1078: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11164bea40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________________ TestBoutDataArrayMethods.test_ddz _______________________ self = bout_xyt_example_files = def test_ddz(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files( None, lengths=(2, 3, 4, 64), nxpe=1, nype=1, ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, ) xbout/tests/test_boutdataarray.py:1109: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111629b340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ TestBoutDataArrayMethods.test_derivatives_doublenull _____________ self = bout_xyt_example_files = def test_derivatives_doublenull(self, bout_xyt_example_files): # Check function does not error on double-null topology dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": 2, "y": 2}, topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataarray.py:1141: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d3c640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions __________________ TestBoutDatasetIsXarrayDataset.test_concat __________________ self = bout_xyt_example_files = def test_concat(self, bout_xyt_example_files): dataset_list1 = bout_xyt_example_files(None, nxpe=3, nype=4, nt=1) with pytest.warns(UserWarning): > bd1 = open_boutdataset( datapath=dataset_list1, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165e5660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________________ TestBoutDatasetIsXarrayDataset.test_isel ___________________ self = bout_xyt_example_files = def test_isel(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files(None, nxpe=1, nype=1, nt=1) with pytest.warns(UserWarning): > bd = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11175a6440> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________ TestBoutDatasetMethods.test_get_field_aligned _________________ self = bout_xyt_example_files = def test_get_field_aligned(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files(None, nxpe=3, nype=4, nt=1) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117b17820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ TestBoutDatasetMethods.test_remove_yboundaries[0-0] ______________ self = bout_xyt_example_files = mxg = 0, myg = 0 @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) def test_remove_yboundaries(self, bout_xyt_example_files, mxg, myg): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataset.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e126e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestBoutDatasetMethods.test_remove_yboundaries[0-2] ______________ self = bout_xyt_example_files = mxg = 2, myg = 0 @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) def test_remove_yboundaries(self, bout_xyt_example_files, mxg, myg): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataset.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111657ee00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestBoutDatasetMethods.test_remove_yboundaries[2-0] ______________ self = bout_xyt_example_files = mxg = 0, myg = 2 @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) def test_remove_yboundaries(self, bout_xyt_example_files, mxg, myg): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataset.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111591dc60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestBoutDatasetMethods.test_remove_yboundaries[2-2] ______________ self = bout_xyt_example_files = mxg = 2, myg = 2 @pytest.mark.parametrize("mxg", [0, pytest.param(2, marks=pytest.mark.long)]) @pytest.mark.parametrize("myg", [pytest.param(0, marks=pytest.mark.long), 2]) def test_remove_yboundaries(self, bout_xyt_example_files, mxg, myg): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=6, nt=1, grid="grid", guards={"x": mxg, "y": myg}, topology="connected-double-null", syn_data_type="linear", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_yboundaries=True, ) xbout/tests/test_boutdataset.py:103: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cf2e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestBoutDatasetMethods.test_to_field_aligned[6] ________________ self = bout_xyt_example_files = nz = 6 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_to_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c49cc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _______________ TestBoutDatasetMethods.test_to_field_aligned[7] ________________ self = bout_xyt_example_files = nz = 7 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_to_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b484c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _______________ TestBoutDatasetMethods.test_to_field_aligned[8] ________________ self = bout_xyt_example_files = nz = 8 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_to_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c463e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _______________ TestBoutDatasetMethods.test_to_field_aligned[9] ________________ self = bout_xyt_example_files = nz = 9 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_to_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cf3a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestBoutDatasetMethods.test_to_field_aligned_dask _______________ self = bout_xyt_example_files = def test_to_field_aligned_dask(self, bout_xyt_example_files): nz = 6 dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:269: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c4b700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestBoutDatasetMethods.test_from_field_aligned[6] _______________ self = bout_xyt_example_files = nz = 6 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_from_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165da680> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestBoutDatasetMethods.test_from_field_aligned[7] _______________ self = bout_xyt_example_files = nz = 7 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_from_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c996c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestBoutDatasetMethods.test_from_field_aligned[8] _______________ self = bout_xyt_example_files = nz = 8 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_from_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cf39a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestBoutDatasetMethods.test_from_field_aligned[9] _______________ self = bout_xyt_example_files = nz = 9 @pytest.mark.parametrize( "nz", [ pytest.param(6, marks=pytest.mark.long), 7, pytest.param(8, marks=pytest.mark.long), pytest.param(9, marks=pytest.mark.long), ], ) def test_from_field_aligned(self, bout_xyt_example_files, nz): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, nz), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:389: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b48520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_to_field_aligned_staggered[CELL_XLOW] _______ self = bout_xyt_example_files = stag_location = 'CELL_XLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_to_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b4b520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_to_field_aligned_staggered[CELL_YLOW] _______ self = bout_xyt_example_files = stag_location = 'CELL_YLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_to_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c4b340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_to_field_aligned_staggered[CELL_ZLOW] _______ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_to_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:494: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115bb8340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ TestBoutDatasetMethods.test_from_field_aligned_staggered[CELL_XLOW] ______ self = bout_xyt_example_files = stag_location = 'CELL_XLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_from_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165db9a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ TestBoutDatasetMethods.test_from_field_aligned_staggered[CELL_YLOW] ______ self = bout_xyt_example_files = stag_location = 'CELL_YLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_from_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165d5de0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ TestBoutDatasetMethods.test_from_field_aligned_staggered[CELL_ZLOW] ______ self = bout_xyt_example_files = stag_location = 'CELL_ZLOW' @pytest.mark.parametrize("stag_location", ["CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"]) def test_from_field_aligned_staggered(self, bout_xyt_example_files, stag_location): dataset_list = bout_xyt_example_files( None, lengths=(3, 3, 4, 8), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:553: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115bb9480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115e14dc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11162a97e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115f89120> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116783220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167bf8e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116797100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167d7280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11173ebac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111737fe80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11173b98a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111616b9a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc1420> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b4aa40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117086920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111659e8c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate0-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = ('n', 'T') @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d707c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167b2980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117369c60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166cada0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111730ae00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111664ae00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166da1a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166b3220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111661a260> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166bf1c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166db760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166620e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111664b100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165d7280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c992a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11162a8e80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_parallel[vars_to_interpolate1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True vars_to_interpolate = Ellipsis @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "vars_to_interpolate", [("n", "T"), pytest.param(..., marks=pytest.mark.long)] ) def test_interpolate_parallel( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, vars_to_interpolate, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_boutdataset.py:652: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115cf2e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______ TestBoutDatasetMethods.test_interpolate_parallel_all_variables_arg ______ self = bout_xyt_example_files = def test_interpolate_parallel_all_variables_arg(self, bout_xyt_example_files): # Check that passing 'variables=...' to interpolate_parallel() does actually # interpolate all the variables dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=1, nype=1, nt=1, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal" ) xbout/tests/test_boutdataset.py:1108: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc02e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ___________ TestBoutDatasetMethods.test_interpolate_parallel_limiter ___________ self = bout_xyt_example_files = def test_interpolate_parallel_limiter( self, bout_xyt_example_files, ): # This test checks that the regions created in the new high-resolution Dataset by # interpolate_parallel are correct. # This test does not test the accuracy of the parallel interpolation (there are # other tests for that). # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards={"x": 2, "y": 2}, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=True, keep_yboundaries=False, ) xbout/tests/test_boutdataset.py:1163: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11173cbac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestBoutDatasetMethods.test_integrate_midpoints_slab _____________ self = bout_xyt_example_files = def test_integrate_midpoints_slab(self, bout_xyt_example_files): # Create data dataset_list = bout_xyt_example_files( None, lengths=(4, 100, 110, 120), nxpe=1, nype=1, nt=1, syn_data_type=1 ) > ds = open_boutdataset(dataset_list) xbout/tests/test_boutdataset.py:1193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11173ef340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____ TestBoutDatasetMethods.test_integrate_midpoints_salpha[CELL_CENTRE] ______ self = bout_xyt_example_files = location = 'CELL_CENTRE' @pytest.mark.parametrize( "location", ["CELL_CENTRE", "CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"] ) def test_integrate_midpoints_salpha(self, bout_xyt_example_files, location): # Create data nx = 100 ny = 110 nz = 120 dataset_list = bout_xyt_example_files( None, lengths=(4, nx, ny, nz), nxpe=1, nype=1, nt=1, syn_data_type=1, guards={"x": 2, "y": 2}, ) > ds = open_boutdataset(dataset_list) xbout/tests/test_boutdataset.py:1387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11170cdfc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_integrate_midpoints_salpha[CELL_XLOW] _______ self = bout_xyt_example_files = location = 'CELL_XLOW' @pytest.mark.parametrize( "location", ["CELL_CENTRE", "CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"] ) def test_integrate_midpoints_salpha(self, bout_xyt_example_files, location): # Create data nx = 100 ny = 110 nz = 120 dataset_list = bout_xyt_example_files( None, lengths=(4, nx, ny, nz), nxpe=1, nype=1, nt=1, syn_data_type=1, guards={"x": 2, "y": 2}, ) > ds = open_boutdataset(dataset_list) xbout/tests/test_boutdataset.py:1387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115dc33a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_integrate_midpoints_salpha[CELL_YLOW] _______ self = bout_xyt_example_files = location = 'CELL_YLOW' @pytest.mark.parametrize( "location", ["CELL_CENTRE", "CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"] ) def test_integrate_midpoints_salpha(self, bout_xyt_example_files, location): # Create data nx = 100 ny = 110 nz = 120 dataset_list = bout_xyt_example_files( None, lengths=(4, nx, ny, nz), nxpe=1, nype=1, nt=1, syn_data_type=1, guards={"x": 2, "y": 2}, ) > ds = open_boutdataset(dataset_list) xbout/tests/test_boutdataset.py:1387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167af400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______ TestBoutDatasetMethods.test_integrate_midpoints_salpha[CELL_ZLOW] _______ self = bout_xyt_example_files = location = 'CELL_ZLOW' @pytest.mark.parametrize( "location", ["CELL_CENTRE", "CELL_XLOW", "CELL_YLOW", "CELL_ZLOW"] ) def test_integrate_midpoints_salpha(self, bout_xyt_example_files, location): # Create data nx = 100 ny = 110 nz = 120 dataset_list = bout_xyt_example_files( None, lengths=(4, nx, ny, nz), nxpe=1, nype=1, nt=1, syn_data_type=1, guards={"x": 2, "y": 2}, ) > ds = open_boutdataset(dataset_list) xbout/tests/test_boutdataset.py:1387: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117066e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________ TestBoutDatasetMethods.test_interpolate_from_unstructured ___________ self = bout_xyt_example_files = def test_interpolate_from_unstructured(self, bout_xyt_example_files): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, grid="grid", topology="upper-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal" ) xbout/tests/test_boutdataset.py:1733: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111667ff40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestBoutDatasetMethods.test_interpolate_from_unstructured_unstructured_output _ self = bout_xyt_example_files = def test_interpolate_from_unstructured_unstructured_output( self, bout_xyt_example_files ): dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, grid="grid", topology="lower-disconnected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal" ) xbout/tests/test_boutdataset.py:1784: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166d8940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestBoutDatasetMethods.test_interpolate_to_cartesian _____________ self = bout_xyt_example_files = def test_interpolate_to_cartesian(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files( None, lengths=(2, 16, 17, 18), nxpe=1, nype=1, nt=1 ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:1842: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115b4ace0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestBoutDatasetMethods.test_add_cartesian_coordinates _____________ self = bout_xyt_example_files = def test_add_cartesian_coordinates(self, bout_xyt_example_files): dataset_list = bout_xyt_example_files(None, nxpe=1, nype=1, nt=1) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=dataset_list, inputfilepath=None, keep_xboundaries=False ) xbout/tests/test_boutdataset.py:1883: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d3eaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________________________ TestSave.test_save_all ____________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_save_all(self, tmp_path_factory, bout_xyt_example_files): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=5, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:1953: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111663e980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________________ TestSave.test_reload_all[None] ________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = None @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_all(self, tmp_path_factory, bout_xyt_example_files, geometry): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=5, nt=1, grid="grid", write_to_disk=True ) gridpath = path.parent.joinpath("grid.nc") # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=None if geometry is None else gridpath, ) xbout/tests/test_boutdataset.py:1978: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167eace0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________________ TestSave.test_reload_all[toroidal] ______________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = 'toroidal' @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_all(self, tmp_path_factory, bout_xyt_example_files, geometry): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=5, nt=1, grid="grid", write_to_disk=True ) gridpath = path.parent.joinpath("grid.nc") # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=None if geometry is None else gridpath, ) else: > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=None if geometry is None else gridpath, ) xbout/tests/test_boutdataset.py:1985: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116663640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ___________________ TestSave.test_save_dtype[False-float64] ____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = save_dtype = , separate_vars = False @pytest.mark.parametrize("save_dtype", [np.float64, np.float32]) @pytest.mark.parametrize( "separate_vars", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_save_dtype( self, tmp_path_factory, bout_xyt_example_files, save_dtype, separate_vars ): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=1, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:2035: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11173abbe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___________________ TestSave.test_save_dtype[False-float32] ____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = save_dtype = , separate_vars = False @pytest.mark.parametrize("save_dtype", [np.float64, np.float32]) @pytest.mark.parametrize( "separate_vars", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_save_dtype( self, tmp_path_factory, bout_xyt_example_files, save_dtype, separate_vars ): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=1, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:2035: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117368c40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________________ TestSave.test_save_dtype[True-float64] ____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = save_dtype = , separate_vars = True @pytest.mark.parametrize("save_dtype", [np.float64, np.float32]) @pytest.mark.parametrize( "separate_vars", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_save_dtype( self, tmp_path_factory, bout_xyt_example_files, save_dtype, separate_vars ): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=1, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:2035: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11167eb940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________________ TestSave.test_save_dtype[True-float32] ____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = save_dtype = , separate_vars = True @pytest.mark.parametrize("save_dtype", [np.float64, np.float32]) @pytest.mark.parametrize( "separate_vars", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_save_dtype( self, tmp_path_factory, bout_xyt_example_files, save_dtype, separate_vars ): # Create data path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=1, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:2035: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166188e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________________ TestSave.test_save_separate_variables _____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_save_separate_variables(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, write_to_disk=True ) # Load it as a boutdataset with pytest.warns(UserWarning): > original = open_boutdataset(datapath=path, inputfilepath=None) xbout/tests/test_boutdataset.py:2063: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165e7d00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________ TestSave.test_reload_separate_variables[None] _________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = None @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_separate_variables( self, tmp_path_factory, bout_xyt_example_files, geometry ): if geometry is not None: grid = "grid" else: grid = None path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, grid=grid, write_to_disk=True ) if grid is not None: gridpath = path.parent.joinpath("grid.nc") else: gridpath = None # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) xbout/tests/test_boutdataset.py:2104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117307940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestSave.test_reload_separate_variables[toroidal] _______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = 'toroidal' @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_separate_variables( self, tmp_path_factory, bout_xyt_example_files, geometry ): if geometry is not None: grid = "grid" else: grid = None path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, grid=grid, write_to_disk=True ) if grid is not None: gridpath = path.parent.joinpath("grid.nc") else: gridpath = None # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) else: > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) xbout/tests/test_boutdataset.py:2111: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115c499c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ___________ TestSave.test_reload_separate_variables_time_split[None] ___________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = None @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_separate_variables_time_split( self, tmp_path_factory, bout_xyt_example_files, geometry ): if geometry is not None: grid = "grid" else: grid = None path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, grid=grid, write_to_disk=True ) if grid is not None: gridpath = path.parent.joinpath("grid.nc") else: gridpath = None # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) xbout/tests/test_boutdataset.py:2151: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11175a56c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________ TestSave.test_reload_separate_variables_time_split[toroidal] _________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = geometry = 'toroidal' @pytest.mark.parametrize("geometry", [None, "toroidal"]) def test_reload_separate_variables_time_split( self, tmp_path_factory, bout_xyt_example_files, geometry ): if geometry is not None: grid = "grid" else: grid = None path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, grid=grid, write_to_disk=True ) if grid is not None: gridpath = path.parent.joinpath("grid.nc") else: gridpath = None # Load it as a boutdataset if geometry is None: with pytest.warns(UserWarning): original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) else: > original = open_boutdataset( datapath=path, inputfilepath=None, geometry=geometry, gridfilepath=gridpath, ) xbout/tests/test_boutdataset.py:2158: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111625cd00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________________ TestSaveRestart.test_to_restart[None] _____________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = tind = None @pytest.mark.parametrize("tind", [None, pytest.param(1, marks=pytest.mark.long)]) def test_to_restart(self, tmp_path_factory, bout_xyt_example_files, tind): nxpe = 3 nype = 2 nt = 6 path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe, nype=nype, nt=1, lengths=[nt, 4, 4, 7], guards={"x": 2, "y": 2}, write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115932da0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________________ TestSaveRestart.test_to_restart[1] ______________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = tind = 1 @pytest.mark.parametrize("tind", [None, pytest.param(1, marks=pytest.mark.long)]) def test_to_restart(self, tmp_path_factory, bout_xyt_example_files, tind): nxpe = 3 nype = 2 nt = 6 path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe, nype=nype, nt=1, lengths=[nt, 4, 4, 7], guards={"x": 2, "y": 2}, write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2205: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166bc580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError __________________ TestSaveRestart.test_to_restart_change_npe __________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_to_restart_change_npe(self, tmp_path_factory, bout_xyt_example_files): nxpe_in = 3 nype_in = 2 nxpe = 2 nype = 4 nt = 6 path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe_in, nype=nype_in, nt=1, lengths=[nt, 4, 4, 7], guards={"x": 2, "y": 2}, write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2283: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d722c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________ TestSaveRestart.test_to_restart_change_npe_doublenull _____________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = @pytest.mark.long def test_to_restart_change_npe_doublenull( self, tmp_path_factory, bout_xyt_example_files ): nxpe_in = 3 nype_in = 6 nxpe = 1 nype = 12 nt = 6 path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe_in, nype=nype_in, nt=1, guards={"x": 2, "y": 2}, lengths=(nt, 5, 4, 7), topology="upper-disconnected-double-null", write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115d4bb20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ TestSaveRestart.test_to_restart_change_npe_doublenull_expect_fail[npes0] ___ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = npes = (2, 6) @pytest.mark.long @pytest.mark.parametrize("npes", [(2, 6), (3, 4)]) def test_to_restart_change_npe_doublenull_expect_fail( self, tmp_path_factory, bout_xyt_example_files, npes ): nxpe_in = 3 nype_in = 6 nxpe, nype = npes path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe_in, nype=nype_in, nt=1, guards={"x": 2, "y": 2}, lengths=(6, 5, 4, 7), topology="lower-disconnected-double-null", write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11176cd120> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ___ TestSaveRestart.test_to_restart_change_npe_doublenull_expect_fail[npes1] ___ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = npes = (3, 4) @pytest.mark.long @pytest.mark.parametrize("npes", [(2, 6), (3, 4)]) def test_to_restart_change_npe_doublenull_expect_fail( self, tmp_path_factory, bout_xyt_example_files, npes ): nxpe_in = 3 nype_in = 6 nxpe, nype = npes path = bout_xyt_example_files( tmp_path_factory, nxpe=nxpe_in, nype=nype_in, nt=1, guards={"x": 2, "y": 2}, lengths=(6, 5, 4, 7), topology="lower-disconnected-double-null", write_to_disk=True, ) # Load it as a boutdataset with pytest.warns(UserWarning): > ds = open_boutdataset(datapath=path) xbout/tests/test_boutdataset.py:2427: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11165db100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________________ TestSaveRestart.test_from_restart_to_restart _________________ self = tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_from_restart_to_restart0') def test_from_restart_to_restart(self, tmp_path): datapath = Path(__file__).parent.joinpath( "data", "restart", "BOUT.restart.*.nc" ) ds = open_boutdataset(datapath, keep_xboundaries=True, keep_yboundaries=True) > ds.bout.to_restart(savepath=tmp_path, nxpe=1, nype=4) xbout/tests/test_boutdataset.py:2442: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/boutdataset.py:1007: in to_restart xr.save_mfdataset(restart_datasets, paths, compute=True) /usr/lib/python3.13/site-packages/xarray/backends/api.py:2079: in save_mfdataset writes = [w.sync(compute=compute) for w in writers] /usr/lib/python3.13/site-packages/xarray/backends/common.py:358: in sync delayed_store = chunkmanager.store( /usr/lib/python3.13/site-packages/xarray/namedarray/daskmanager.py:247: in store return store( /usr/lib/python3.13/site-packages/dask/array/core.py:1245: in store compute_as_if_collection(Array, store_dsk, map_keys, **kwargs) /usr/lib/python3.13/site-packages/dask/base.py:397: in compute_as_if_collection return schedule(dsk2, keys, **kwargs) /usr/lib/python3.13/site-packages/dask/threaded.py:91: in get results = get_async( /usr/lib/python3.13/site-packages/dask/local.py:516: in get_async raise_exception(exc, tb) /usr/lib/python3.13/site-packages/dask/local.py:324: in reraise raise exc /usr/lib/python3.13/site-packages/dask/local.py:229: in execute_task result = task(data) /usr/lib/python3.13/site-packages/dask/_task_spec.py:745: in __call__ return self.func(*new_argspec) /usr/lib/python3.13/site-packages/dask/_task_spec.py:171: in _execute_subgraph res = execute_graph(final, keys=[outkey]) /usr/lib/python3.13/site-packages/dask/_task_spec.py:984: in execute_graph cache[key] = node(cache) /usr/lib/python3.13/site-packages/dask/_task_spec.py:745: in __call__ return self.func(*new_argspec) /usr/lib/python3.13/site-packages/dask/array/core.py:4539: in store_chunk return load_store_chunk(x, out, index, lock, return_stored, False) /usr/lib/python3.13/site-packages/dask/array/core.py:4521: in load_store_chunk out[index] = x /usr/lib/python3.13/site-packages/xarray/backends/netCDF4_.py:82: in __setitem__ data[key] = value src/netCDF4/_netCDF4.pyx:5630: in netCDF4._netCDF4.Variable.__setitem__ ??? src/netCDF4/_netCDF4.pyx:5917: in netCDF4._netCDF4.Variable._put ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E RuntimeError: NetCDF: HDF error src/netCDF4/_netCDF4.pyx:2164: RuntimeError ----------------------------- Captured stdout call ----------------------------- Read in: Contains: Size: 18kB Dimensions: (x: 1, y: 104, z: 1) Coordinates: dx (x, y) float64 832B dask.array dy (x, y) float64 832B dask.array dz (x, y) float64 832B dask.array * x (x) int64 8B 0 * y (y) float64 832B 0.1 0.3 0.5 0.7 0.9 ... 19.9 20.1 20.3 20.5 20.7 * z (z) float64 8B 3.142 Data variables: (12/18) g11 (x, y) float64 832B dask.array g22 (x, y) float64 832B dask.array g33 (x, y) float64 832B dask.array g12 (x, y) float64 832B dask.array g13 (x, y) float64 832B dask.array g23 (x, y) float64 832B dask.array ... ... J (x, y) float64 832B dask.array Bxy (x, y) float64 832B dask.array G1 (x, y) float64 832B dask.array G2 (x, y) float64 832B dask.array G3 (x, y) float64 832B dask.array T (x, y, z) float64 832B dask.array Attributes: metadata: {'hist_hi': 100, 'zperiod': 1, 'MXSUB': 1, 'MYSUB': 50, 'MZSUB... options: None geometry: Metadata: { 'BOUT_VERSION': 5.0, 'MXG': 0, 'MXSUB': 1, 'MYG': 2, 'MYSUB': 50, 'MZ': 1, 'MZG': 0, 'MZSUB': 1, 'NXPE': 1, 'NYPE': 2, 'NZPE': 1, 'ZMAX': 1.0, 'ZMIN': 0.0, 'bout_tdim': 't', 'bout_xdim': 'x', 'bout_ydim': 'y', 'bout_zdim': 'z', 'fine_interpolation_factor': 8, 'hist_hi': 100, 'is_restart': 1, 'ixseps1': -1, 'ixseps2': -1, 'jyseps1_1': -1, 'jyseps1_2': 50, 'jyseps2_1': 50, 'jyseps2_2': 99, 'keep_xboundaries': 1, 'keep_yboundaries': 1, 'nx': 1, 'ny': 100, 'ny_inner': 50, 'nz': 1, 'run_id': '0b8826c4-1999-408b-8da4-f5a6a086c0f5', 'run_restart_from': 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz', 'tt': 9.99999999999998, 'zperiod': 1} [########################################] | 100% Completed | 103.58 ms [################################## ] | 85% Completed | 290.45 ms __________________________ TestOpen.test_single_file ___________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_single_file(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=1, nt=1, write_to_disk=True ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:280: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116a89540> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________________________ TestOpen.test_squashed_file __________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_squashed_file(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=3, nt=1, squashed=True, write_to_disk=True ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:306: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116a16500> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________ TestOpen.test_squashed_doublenull[False-False] ________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = False, keep_yboundaries = False @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 2, 4, 7), guards={"x": 2, "y": 2}, squashed=True, topology="lower-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11163c3ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________ TestOpen.test_squashed_doublenull[False-True] _________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = True, keep_yboundaries = False @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 2, 4, 7), guards={"x": 2, "y": 2}, squashed=True, topology="lower-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11169a2200> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________ TestOpen.test_squashed_doublenull[True-False] _________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = False, keep_yboundaries = True @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 2, 4, 7), guards={"x": 2, "y": 2}, squashed=True, topology="lower-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11163d5120> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _________________ TestOpen.test_squashed_doublenull[True-True] _________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = True, keep_yboundaries = True @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 2, 4, 7), guards={"x": 2, "y": 2}, squashed=True, topology="lower-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:351: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111576bd00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ TestOpen.test_squashed_doublenull_file[False-False] ______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = False, keep_yboundaries = False @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull_file( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 4, 4, 7), guards={"x": 2, "y": 2}, squashed=True, write_to_disk=True, topology="upper-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11166c9420> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestOpen.test_squashed_doublenull_file[False-True] ______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = True, keep_yboundaries = False @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull_file( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 4, 4, 7), guards={"x": 2, "y": 2}, squashed=True, write_to_disk=True, topology="upper-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111769c3a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestOpen.test_squashed_doublenull_file[True-False] ______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = False, keep_yboundaries = True @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull_file( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 4, 4, 7), guards={"x": 2, "y": 2}, squashed=True, write_to_disk=True, topology="upper-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111636b2e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ______________ TestOpen.test_squashed_doublenull_file[True-True] _______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = keep_xboundaries = True, keep_yboundaries = True @pytest.mark.parametrize( "keep_xboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) @pytest.mark.parametrize( "keep_yboundaries", [False, pytest.param(True, marks=pytest.mark.long)] ) def test_squashed_doublenull_file( self, tmp_path_factory, bout_xyt_example_files, keep_xboundaries, keep_yboundaries, ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=6, nt=1, lengths=(6, 4, 4, 7), guards={"x": 2, "y": 2}, squashed=True, write_to_disk=True, topology="upper-disconnected-double-null", ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=path, keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_load.py:390: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115768400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________________ TestOpen.test_combine_along_x _________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_combine_along_x(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, syn_data_type="stepped", write_to_disk=True, ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:414: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172f5480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ________________________ TestOpen.test_combine_along_y _________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_combine_along_y(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=1, nype=3, nt=1, syn_data_type="stepped", write_to_disk=True, ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:450: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116110a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ TestOpen.test_combine_along_xy[lengths0-False-False] _____________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = bout_v5 = False, metric_3D = False, lengths = (6, 2, 4, 7) @pytest.mark.parametrize( "bout_v5,metric_3D", [(False, False), (True, False), (True, True)] ) @pytest.mark.parametrize("lengths", [(6, 2, 4, 7), (6, 2, 4, 1)]) def test_combine_along_xy( self, tmp_path_factory, bout_xyt_example_files, bout_v5, metric_3D, lengths ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=3, nt=1, lengths=lengths, syn_data_type="stepped", write_to_disk=True, bout_v5=bout_v5, metric_3D=metric_3D, ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11176e0700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _____________ TestOpen.test_combine_along_xy[lengths0-True-False] ______________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = bout_v5 = True, metric_3D = False, lengths = (6, 2, 4, 7) @pytest.mark.parametrize( "bout_v5,metric_3D", [(False, False), (True, False), (True, True)] ) @pytest.mark.parametrize("lengths", [(6, 2, 4, 7), (6, 2, 4, 1)]) def test_combine_along_xy( self, tmp_path_factory, bout_xyt_example_files, bout_v5, metric_3D, lengths ): path = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=3, nt=1, lengths=lengths, syn_data_type="stepped", write_to_disk=True, bout_v5=bout_v5, metric_3D=metric_3D, ) with pytest.warns(UserWarning): > actual = open_boutdataset(datapath=path, keep_xboundaries=False) xbout/tests/test_load.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111730aa40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ____________________________ TestOpen.test_toroidal ____________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_toroidal(self, tmp_path_factory, bout_xyt_example_files): # actually write these to disk to test the loading fully path = bout_xyt_example_files( tmp_path_factory, nxpe=3, nype=3, nt=1, syn_data_type="stepped", grid="grid", write_to_disk=True, ) > actual = open_boutdataset( datapath=path, geometry="toroidal", gridfilepath=path.parent.joinpath("grid.nc"), ) xbout/tests/test_load.py:555: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116a3fac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________________________ TestOpen.test_salpha _____________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_salpha(self, tmp_path_factory, bout_xyt_example_files): path = bout_xyt_example_files( tmp_path_factory, nxpe=3, nype=3, nt=1, syn_data_type="stepped", grid="grid", write_to_disk=True, ) > actual = open_boutdataset( datapath=path, geometry="s-alpha", gridfilepath=path.parent.joinpath("grid.nc"), ) xbout/tests/test_load.py:589: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11157d2c80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying s-alpha geometry conventions ___________________________ TestOpen.test_drop_vars ____________________________ self = tmp_path_factory = TempPathFactory(_given_basetemp=None, _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0'), _retention_count=3, _retention_policy='all') bout_xyt_example_files = def test_drop_vars(self, tmp_path_factory, bout_xyt_example_files): datapath = bout_xyt_example_files( tmp_path_factory, nxpe=4, nype=1, nt=1, syn_data_type="stepped", write_to_disk=True, ) with pytest.warns(UserWarning): > ds = open_boutdataset( datapath=datapath, keep_xboundaries=False, drop_variables=["T"] ) xbout/tests/test_load.py:618: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116eaed40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172a27a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f12440> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11171738e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145507c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145e9a80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114549e40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111688b6a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144fe200> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11171cf820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ff7ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111451db40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172dc100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145cb400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111458a560> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d3ce80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114527640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d26980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d21ba0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d15300> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116de9ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117126f80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144ff940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111457dc00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111455c0a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115773880> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172c4400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172c6c20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145a02e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145c4a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ddb820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b26bc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ba94e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d2f940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172cdea0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116e35600> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144feda0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116af3a60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172eace0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116fd5a80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d708e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116fd51e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d4ff40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d03160> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114543820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116dbfd00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114506e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d63940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b1ece0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145ca920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11171c0100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145c4be0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116de70a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ba04c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b32fe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141b0b80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111414bac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141533a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11140fe920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114109d80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11143344c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111415aaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114139240> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114143640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111410fa60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142fd1e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145bbc40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117199e40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115726320> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145b94e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b3c4c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116da4c40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116defa00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114171360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141a6f20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bc45e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bd11e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1115771c00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b2f0a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116de6680> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114117100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bef940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114154dc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114101540> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b91ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111411a920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b97b20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111432ed40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141f7ca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111436eec0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111438af20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114148ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111413b220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117292ce0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111413a0e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11143d1060> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestPlot.test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bd6fe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[0-False-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bdbf40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[0-False-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117199780> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[0-False-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111410d3c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[0-False-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bc41c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117291360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bc5f00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d50a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114126260> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-False-True-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172966e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-False-True-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1117198a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-False-True-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d41ea0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-False-True-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111719a920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-True-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116fa66e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-True-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bee620> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-True-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116a3c640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[0-True-True-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d68be0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[1-False-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114106620> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[1-False-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114102c80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[1-False-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11171982e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[1-False-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116de2560> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111723aaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d50e80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d41e40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bd5360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-False-True-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116fd54e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-False-True-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bd9ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-False-True-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d6aaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-False-True-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141afac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-True-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114137a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-True-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11157d2020> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-True-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116dcf280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[1-True-True-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116bd8760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[2-False-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d52620> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[2-False-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11157023e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[2-False-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11157276a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestPlot.test_region_limiter[2-False-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114158760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172a2bc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111417d8a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11157d1060> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142ff820> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-False-True-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b049a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-False-True-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141247c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-False-True-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141588e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-False-True-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d6a560> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-True-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11172906a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-True-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111723a980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-True-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111693eaa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestPlot.test_region_limiter[2-True-True-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 2 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [ 0, pytest.param(1, marks=pytest.mark.long), pytest.param(2, marks=pytest.mark.long), ], ) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 5, 4, 3), nxpe=1, nype=1, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_plot.py:172: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141042e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-False-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141d4280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-False-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141cd7e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-False-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145a4ee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-False-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145a5c00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[True-False-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116dd4fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[True-False-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11140fa200> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[True-False-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111432a320> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[True-False-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ddac20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-True-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111459d0c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-True-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114392a40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-True-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111459d420> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_core[False-True-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b97a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_core[True-True-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111436ce20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_core[True-True-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b96080> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_core[True-True-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111764d180> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_core[True-True-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_core( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="core", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:45: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11143cfa00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_sol[False-False-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11143a6c80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_sol[False-False-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c31ba0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_sol[False-False-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c77760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_sol[False-False-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c4bac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-False-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146f5ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-False-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146e16c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-False-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145f9d80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-False-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111417f6a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[False-True-guards0] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11145515a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[False-True-guards1] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d5fd00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[False-True-guards2] ________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f14160> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[False-True-guards3] ________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114126a40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-True-guards0] _________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111413dd80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-True-guards1] _________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146ac700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-True-guards2] _________________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114186e60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________________ TestRegion.test_region_sol[True-True-guards3] _________________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_sol( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note need to use more than (3*MXG,3*MYG) points per output file dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="sol", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:91: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116ac9de0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[0-False-False-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111464f340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[0-False-False-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111461e1a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[0-False-False-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c71ef20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[0-False-False-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c75f100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-False-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c6c2ec0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-False-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144f59c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-False-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c72d8a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-False-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c97ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-False-True-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116889ea0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-False-True-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114551ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-False-True-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d18ca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-False-True-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146af280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-True-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111416ea40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-True-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f8a020> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-True-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f16800> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[0-True-True-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True region_guards = 0 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c6df460> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[1-False-False-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146716c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[1-False-False-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146639a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[1-False-False-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114660640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_limiter[1-False-False-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114659840> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-False-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c77e2c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-False-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114655de0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-False-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c7675e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-False-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d5db40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-False-True-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c30d60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-False-True-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144a83a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-False-True-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c3e260> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-False-True-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114658220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-True-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116d63c40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-True-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f8b040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-True-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116db9f60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_limiter[1-True-True-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True region_guards = 1 @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize("region_guards", [0, 1]) def test_region_limiter( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, region_guards, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="limiter", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:134: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116f8ab60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-False-guards0] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146cb1c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-False-guards1] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114407fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-False-guards2] ______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114499b40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-False-guards3] ______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5d5ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[True-False-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5dfee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[True-False-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5da1a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[True-False-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c605c60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[True-False-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5f43a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-True-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116b96920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-True-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114493760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-True-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114479480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ______________ TestRegion.test_region_xpoint[False-True-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114399660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_xpoint[True-True-guards0] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c7876a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_xpoint[True-True-guards1] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114126140> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_xpoint[True-True-guards2] _______________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114663520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______________ TestRegion.test_region_xpoint[True-True-guards3] _______________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_xpoint( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="xpoint", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:215: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c766e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-False-guards0] ____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c67a5c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-False-guards1] ____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4d6b60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-False-guards2] ____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4d4700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-False-guards3] ____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4a2b00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[True-False-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c493a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[True-False-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4de7a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[True-False-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3e9840> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[True-False-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c680460> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-True-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c75720> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-True-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c499c00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-True-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111461d540> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ____________ TestRegion.test_region_singlenull[False-True-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c785b40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_singlenull[True-True-guards0] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116cb35e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_singlenull[True-True-guards1] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c32980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_singlenull[True-True-guards2] _____________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146ac280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _____________ TestRegion.test_region_singlenull[True-True-guards3] _____________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_singlenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=4, nt=1, guards=guards, grid="grid", topology="single-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:409: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111464a6e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______ TestRegion.test_region_connecteddoublenull[False-False-guards0] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c526260> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______ TestRegion.test_region_connecteddoublenull[False-False-guards1] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c21bf40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______ TestRegion.test_region_connecteddoublenull[False-False-guards2] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2aa800> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _______ TestRegion.test_region_connecteddoublenull[False-False-guards3] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114289120> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-False-guards0] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111421e620> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-False-guards1] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142cbe20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-False-guards2] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4aa6e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-False-guards3] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c765f60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[False-True-guards0] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4d46a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[False-True-guards1] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4cc220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[False-True-guards2] ________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c504ee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[False-True-guards3] ________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111445dcc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-True-guards0] _________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c52f280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-True-guards1] _________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4cd4e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-True-guards2] _________ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c582fe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions ________ TestRegion.test_region_connecteddoublenull[True-True-guards3] _________ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True @pytest.mark.long @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) def test_region_connecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology="connected-double-null", ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:578: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2c5720> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c252ce0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c351300> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2fb1c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3aafe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114267dc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c59bc40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c43dde0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c53b400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c46eb60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111693f880> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114295b40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c67b5e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c26a2c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c403ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142dae60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111426d660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100effe20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d60f40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c415c60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4de680> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c580b20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c273a60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c20d300> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3a58a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2d8280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100db3a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d15ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cfc040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100ceb220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c1a6500> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c133e20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:885: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d83160> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c142560> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c146d40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c30b100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d818a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c52d600> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c250340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5f4fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3a6860> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4a8fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c47f520> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d528c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114233040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111423a380> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c1720e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c104580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c766320> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d47880> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c251a20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c503a60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c621b40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5f5660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c1a5960> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2ebee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c347280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cea800> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c1757e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d7aa40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d67760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100dabee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d320e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100edff40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c5819c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100ede980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c52dcc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111421a620> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c414ee0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111421bf40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100da4100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c28d0c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3f1000> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c415ba0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0c73a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110090e920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100ccd0c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c13e440> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d472e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2fabc0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c36c280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111420f5e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c53ba00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c60cb20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142d5f00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d1a2c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c29f700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c31a920> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cc5a20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0d2740> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c3c9d80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d00f40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c7a8ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d76b60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100f31ae0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c335600> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144f4580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cea0e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100db1660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114263580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cd6f80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c26a500> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4dd960> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110097f580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11008d4100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100922a40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c150ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d46e60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c620280> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2dad40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11144f4e80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0bb9a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'lower-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0d7a00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100ee0400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2c5e40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d1bc40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cfd8a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110091be20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cc7b20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d5cca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c52fca0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0d6e60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111445cbe0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2e5c60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d669e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c580e20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c4d4220> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2b2380> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 0, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0c5540> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c104640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2a3d60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c1467a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100cded40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11009067a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110077a740> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100959840> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c250f40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c196b60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100db0040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100986980> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114219660> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0e1a80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0d1720> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c363640> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c29f160> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2eb760> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100fa05e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d78580> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c52d2a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c143400> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d85420> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c26a4a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d501c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d18040> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c623ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c137c40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114296b60> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c149e40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c106c80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100949d20> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100962d40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111421fe80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11007aa2c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100740340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142c8ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11146b4700> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1116c77e80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f111445d0c0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100795480> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c217940> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c16ece0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100f318a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d82260> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d309a0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1114238fa0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c141de0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = {'theta': 1, 'x': 1}, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d7ce80> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2a0100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100ee2380> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11008e8880> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110091ad40> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100d79000> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2c6e00> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c2b1360> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = False with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11141fb5e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c361600> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c393100> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11142f5960> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = False, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100975300> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards0] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100961600> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards1] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 0}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f110c0e4340> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards2] _ self = bout_xyt_example_files = guards = {'x': 0, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f11005e91e0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions _ TestRegion.test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards3] _ self = bout_xyt_example_files = guards = {'x': 2, 'y': 2}, keep_xboundaries = True, keep_yboundaries = True with_guards = 1, dnd_type = 'upper-disconnected-double-null' @pytest.mark.parametrize(params_guards, params_guards_values) @pytest.mark.parametrize(params_boundaries, params_boundaries_values) @pytest.mark.parametrize( "with_guards", [0, {"x": 1}, {"theta": 1}, {"x": 1, "theta": 1}, 1] ) @pytest.mark.parametrize( "dnd_type", ["lower-disconnected-double-null", "upper-disconnected-double-null"] ) def test_region_disconnecteddoublenull_get_one_guard( self, bout_xyt_example_files, guards, keep_xboundaries, keep_yboundaries, with_guards, dnd_type, ): # Note using more than MXG x-direction points and MYG y-direction points per # output file ensures tests for whether boundary cells are present do not fail # when using minimal numbers of processors dataset_list, grid_ds = bout_xyt_example_files( None, lengths=(2, 3, 4, 3), nxpe=3, nype=6, nt=1, guards=guards, grid="grid", topology=dnd_type, ) > ds = open_boutdataset( datapath=dataset_list, gridfilepath=grid_ds, geometry="toroidal", keep_xboundaries=keep_xboundaries, keep_yboundaries=keep_yboundaries, ) xbout/tests/test_region.py:1458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ xbout/load.py:370: in open_boutdataset ds = geometries.apply_geometry(ds, geometry, grid=grid) xbout/geometries.py:231: in apply_geometry np.linspace(start=z0, stop=z1, num=nz, endpoint=False), dims=zcoord /usr/lib64/python3.13/site-packages/numpy/_core/function_base.py:183: in linspace y = conv.wrap(y.astype(dtype, copy=False)) /usr/lib/python3.13/site-packages/xarray/core/dataarray.py:4776: in __array_wrap__ new_var = self.variable.__array_wrap__(obj, context) /usr/lib/python3.13/site-packages/xarray/core/variable.py:2366: in __array_wrap__ return Variable(self.dims, obj) /usr/lib/python3.13/site-packages/xarray/core/variable.py:422: in __init__ super().__init__( /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:264: in __init__ self._dims = self._parse_dimensions(dims) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'xarray.core.variable.Variable' object has no attribute '_dims'") raised in repr()] Variable object at 0x7f1100768ac0> dims = () def _parse_dimensions(self, dims: _DimsLike) -> _Dims: dims = (dims,) if isinstance(dims, str) else tuple(dims) if len(dims) != self.ndim: > raise ValueError( f"dimensions {dims} must have the same length as the " f"number of data dimensions, ndim={self.ndim}" ) E ValueError: dimensions () must have the same length as the number of data dimensions, ndim=1 /usr/lib/python3.13/site-packages/xarray/namedarray/core.py:508: ValueError ----------------------------- Captured stdout call ----------------------------- Applying toroidal geometry conventions =============================== warnings summary =============================== xbout/tests/test_against_collect.py: 21 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataset.py: 19 warnings xbout/tests/test_load.py: 18 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:813: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. ds, "MXSUB", default=ds.dims["x"] - 2 * mxg, info=info xbout/tests/test_against_collect.py: 21 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataset.py: 19 warnings xbout/tests/test_load.py: 18 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:816: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. ds, "MYSUB", default=ds.dims["y"] - 2 * myg, info=info xbout/tests/test_against_collect.py: 21 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataset.py: 19 warnings xbout/tests/test_load.py: 18 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:831: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. nx_file = ds.dims["x"] xbout/tests/test_against_collect.py: 21 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataset.py: 19 warnings xbout/tests/test_load.py: 18 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:832: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. ny_file = ds.dims["y"] xbout/tests/test_against_collect.py: 5 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataarray.py: 56 warnings xbout/tests/test_boutdataset.py: 84 warnings xbout/tests/test_geometries.py: 1 warning xbout/tests/test_grid.py: 5 warnings xbout/tests/test_load.py: 26 warnings xbout/tests/test_plot.py: 144 warnings xbout/tests/test_region.py: 304 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/geometries.py:147: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. nx = updated_ds.dims[xcoord] xbout/tests/test_against_collect.py: 5 warnings xbout/tests/test_animate.py: 38 warnings xbout/tests/test_boutdataarray.py: 56 warnings xbout/tests/test_boutdataset.py: 84 warnings xbout/tests/test_load.py: 27 warnings xbout/tests/test_plot.py: 144 warnings xbout/tests/test_region.py: 304 warnings /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/geometries.py:184: FutureWarning: The return type of `Dataset.dims` will be changed to return a set of dimension names in future, in order to be more consistent with `DataArray.dims`. To access a mapping from dimension names to lengths, please use `Dataset.sizes`. nz = updated_ds.dims[zcoord] xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_slab xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_CENTRE] xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_XLOW] xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_YLOW] xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_ZLOW] xbout/tests/test_boutdataset.py::TestSaveRestart::test_from_restart_to_restart xbout/tests/test_grid.py::TestOpenGrid::test_open_grid_extra_dims xbout/tests/test_load.py::TestOpen::test_restarts /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/load.py:350: UserWarning: No geometry type found, no physical coordinates will be added warn("No geometry type found, no physical coordinates will be added") xbout/tests/test_boutdataset.py::TestSaveRestart::test_from_restart_to_restart /usr/lib/python3.13/site-packages/_pytest/unraisableexception.py:85: PytestUnraisableExceptionWarning: Exception ignored in: Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/xarray/backends/file_manager.py", line 250, in __del__ self.close(needs_lock=False) ~~~~~~~~~~^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/xarray/backends/file_manager.py", line 234, in close file.close() ~~~~~~~~~~^^ File "src/netCDF4/_netCDF4.pyx", line 2669, in netCDF4._netCDF4.Dataset.close File "src/netCDF4/_netCDF4.pyx", line 2636, in netCDF4._netCDF4.Dataset._close File "src/netCDF4/_netCDF4.pyx", line 2164, in netCDF4._netCDF4._ensure_nc_success RuntimeError: NetCDF: HDF error warnings.warn(pytest.PytestUnraisableExceptionWarning(msg)) xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-True-True] xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-False-False] xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-True-False] xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-True-True] /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/tests/test_load.py:520: UserWarning: rename 't_array' to 't' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate. expected = expected.set_coords(["t_array", "dx", "dy", "dz"]).rename( xbout/tests/test_load.py::TestOpen::test_salpha /builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/xbout/geometries.py:482: UserWarning: rename 'x' to 'r' does not create an index anymore. Try using swap_dims instead or use set_index after rename to create an indexed coordinate. ds = ds.rename(x="r") -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ============================== slowest durations =============================== 3.23s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_new_collect_indexing_slice 1.79s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_new_collect_indexing_list 1.69s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_new_collect_indexing_int 1.56s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-True-True] 1.40s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-True-True] 1.36s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-True-False] 1.33s call xbout/tests/test_boutdataset.py::TestSave::test_save_all 1.31s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths1-False-False] 1.30s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull_expect_fail[npes0] 1.28s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull 1.18s call xbout/tests/test_boutdataset.py::TestSave::test_reload_all[None] 1.08s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-True-False] 0.85s call xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-False-False] 0.81s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls2] 0.80s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_ncols 0.77s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list 0.75s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls0] 0.75s call xbout/tests/test_boutdataset.py::TestSave::test_reload_all[toroidal] 0.72s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull_expect_fail[npes1] 0.68s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_from_restart_to_restart 0.68s call xbout/tests/test_load.py::TestOpen::test_toroidal 0.66s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_xy 0.63s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls0] 0.61s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls1] 0.61s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmax_list 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls5] 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmin 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls0] 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_save_as 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_nrows 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_titles_list 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale_list 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls4] 0.58s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls4] 0.57s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D 0.57s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmax 0.57s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_fps 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls5] 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls5] 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale_float 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmin_list 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls1] 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_animate_over 0.56s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls2] 0.55s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls3] 0.55s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_1d_default 0.55s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls3] 0.55s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_subplots_adjust 0.55s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls4] 0.54s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls3] 0.54s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_1d_multiline 0.54s setup xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls2] 0.54s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls1] 0.53s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale 0.53s setup xbout/tests/test_animate.py::TestAnimate::test_animate_list_not_enough_nrowsncols 0.51s setup xbout/tests/test_animate.py::TestAnimate::test_animate2D 0.51s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart[None] 0.48s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe 0.45s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_from_unstructured_unstructured_output 0.40s call xbout/tests/test_load.py::TestOpen::test_salpha 0.34s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards1] 0.34s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards3] 0.34s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards3] 0.34s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards2] 0.34s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards2] 0.33s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards0] 0.33s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards0] 0.33s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards0] 0.33s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards3] 0.33s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards3] 0.33s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards1] 0.33s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards2] 0.33s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards1] 0.33s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_from_unstructured 0.33s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards2] 0.33s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards0] 0.33s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards1] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards3] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards0] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards1] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards2] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards3] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards2] 0.32s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards1] 0.32s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_y 0.31s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards0] 0.31s call xbout/tests/test_boutdataset.py::TestSave::test_save_separate_variables 0.31s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards0] 0.30s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel_limiter 0.30s call xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables[toroidal] 0.29s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards0] 0.29s call xbout/tests/test_load.py::TestOpen::test_combine_along_x 0.29s call xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart[1] 0.27s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards1] 0.23s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_x 0.23s call xbout/tests/test_load.py::TestOpen::test_combine_along_y 0.23s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards0] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards1] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards3] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards2] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards2] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards0] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards2] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards3] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards0] 0.22s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards1] 0.21s call xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables_time_split[toroidal] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards1] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards3] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards0] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards1] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards3] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards0] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards0] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards1] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards2] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards2] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards3] 0.21s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards2] 0.20s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_dataset 0.19s call xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables_time_split[None] 0.17s call xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables[None] 0.17s call xbout/tests/test_load.py::TestOpen::test_drop_vars 0.13s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-0-0] 0.13s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-0-2] 0.13s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-2-2] 0.13s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-2-0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards1] 0.13s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards2] 0.13s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards2] 0.13s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards3] 0.13s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_derivatives_doublenull 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards2] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards1] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards0] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards3] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards0] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards1] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards2] 0.13s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards3] 0.13s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards3] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards2] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards3] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards3] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards3] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards3] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards1] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards2] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards3] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards0] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards0] 0.12s call xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards1] 0.12s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards1] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards0] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards1] 0.12s call xbout/tests/test_load.py::TestOpen::test_restarts 0.12s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards2] 0.12s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards3] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards1] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards0] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards1] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards2] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards0] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards3] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards0] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards2] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards3] 0.11s call xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards1] 0.11s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_single_file 0.10s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[False-False] 0.10s call xbout/tests/test_load.py::TestOpen::test_squashed_file 0.09s call xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[False-float64] 0.08s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_CENTRE] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards2] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards3] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards3] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards2] 0.08s call xbout/tests/test_fastoutput.py::TestFastOutput::test_open_fastoutput 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards1] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards1] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards2] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards3] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards1] 0.08s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_slab 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards3] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards1] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards2] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards1] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards1] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards2] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards3] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards0] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards2] 0.08s call xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards3] 0.08s call xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_metadata 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards1] 0.07s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_singlenull 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards3] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards2] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards0] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards1] 0.07s call xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards1] 0.07s call xbout/tests/test_load.py::TestOpen::test_single_file 0.07s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[True-False] 0.06s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[False-True] 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetIsXarrayDataset::test_concat 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_get_field_aligned 0.06s call xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[True-float32] 0.06s call xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[False-float32] 0.06s call xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[True-float64] 0.06s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[True-True] 0.06s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-2-0] 0.06s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-0-0] 0.06s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-0-2] 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[2-0] 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[0-2] 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[0-0] 0.06s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-2-2] 0.06s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[2-2] 0.05s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_XLOW] 0.05s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_ZLOW] 0.04s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_YLOW] 0.04s call xbout/tests/test_grid.py::TestOpenGrid::test_open_grid_chunks 0.04s call xbout/tests/test_grid.py::TestOpenGrid::test_open_grid_extra_dims 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_toroidal_points_list 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_toroidal_points 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel 0.03s call xbout/tests/test_grid.py::TestOpenGrid::test_open_grid 0.03s call xbout/tests/test_grid.py::TestOpenGrid::test_open_grid_chunks_not_in_grid 0.03s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards3] 0.03s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards2] 0.03s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards1] 0.03s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards0] 0.03s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel_all_variables_arg 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_sol 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core 0.03s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddy 0.03s call xbout/tests/test_load.py::test_set_fci_coords 0.02s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[False-False] 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_to_cartesian 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-7] 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddx 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-9] 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-6] 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-8] 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_add_cartesian_coordinates 0.02s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddz 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards0] 0.02s setup xbout/tests/test_load.py::test_set_fci_coords 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards2] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards3] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards0] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards1] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards2] 0.02s call xbout/tests/test_load.py::TestPathHandling::test_glob_expansion_both[3-111] 0.02s call xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards0] 0.02s call xbout/tests/test_grid.py::TestOpenGrid::test_open_grid_apply_geometry 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[7] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[2] 0.01s call xbout/tests/test_load.py::TestPathHandling::test_glob_expansion_brackets[3-111] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_sol 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[3] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[18] 0.01s call xbout/tests/test_load.py::TestPathHandling::test_glob_expansion_both[121-2] 0.01s call xbout/tests/test_load.py::TestStripMetadata::test_strip_metadata 0.01s call xbout/tests/test_load.py::TestTrim::test_trim_timing_info[False] 0.01s call xbout/tests/test_load.py::TestTrim::test_infer_boundaries_2d_parallelization_doublenull_by_filenum[0-3-1-4-lower_boundaries3-upper_boundaries3] 0.01s call xbout/tests/test_load.py::TestTrim::test_trim_timing_info[True] 0.01s call xbout/calc/tests/test_turbulence.py::TestRootMeanSquare::test_reduce_2d_dask 0.01s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[True-True] 0.01s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[True-False] 0.01s call xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[False-True] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[6] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-9] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_ZLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_YLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-8] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[8] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-8] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-7] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[7] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_dask 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-7] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[9] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_dask[True] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_to_cartesian 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_YLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[9] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_ZLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_add_cartesian_coordinates 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_ZLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetIsXarrayDataset::test_isel 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-9] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_XLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[7] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_YLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_XLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_YLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_XLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_ZLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-8] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_XLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-6] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[8] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_XLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-9] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-6] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_dask[False] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[6] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_ZLOW] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_ZLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_XLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-7] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-6] 0.01s call xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_YLOW] 0.01s call xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_YLOW] (1673 durations < 0.005s hidden. Use -vv to show these durations.) =========================== short test summary info ============================ FAILED xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_single_file FAILED xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_x FAILED xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_y FAILED xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_multiple_files_along_xy FAILED xbout/tests/test_against_collect.py::TestAccuracyAgainstOldCollect::test_metadata FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_dataset FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-0-0] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-0-2] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-2-0] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[False-2-2] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-0-0] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-0-2] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-2-0] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_remove_yboundaries[True-2-2] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-6] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-7] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-8] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[False-9] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-6] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-7] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-8] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned[True-9] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_dask[False] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_dask[True] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-6] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-7] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-8] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[False-9] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-6] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-7] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-8] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned[True-9] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_XLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_YLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[False-CELL_ZLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_XLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_YLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_to_field_aligned_staggered[True-CELL_ZLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_XLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_YLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[False-CELL_ZLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_XLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_YLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_from_field_aligned_staggered[True-CELL_ZLOW] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[2] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[3] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[7] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_core_change_n[18] FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_sol FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_region_singlenull FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_sol FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_toroidal_points FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_parallel_toroidal_points_list FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_interpolate_to_cartesian FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_add_cartesian_coordinates FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddx FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddy FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_ddz FAILED xbout/tests/test_boutdataarray.py::TestBoutDataArrayMethods::test_derivatives_doublenull FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetIsXarrayDataset::test_concat FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetIsXarrayDataset::test_isel FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_get_field_aligned FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[0-0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[0-2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[2-0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_remove_yboundaries[2-2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[6] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[7] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[8] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned[9] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_dask FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[6] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[7] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[8] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned[9] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_XLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_YLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_to_field_aligned_staggered[CELL_ZLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_XLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_YLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_from_field_aligned_staggered[CELL_ZLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-False-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-False-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-False-True-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate0-True-True-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-False-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-False-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-False-True-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards0] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards1] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards2] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel[vars_to_interpolate1-True-True-guards3] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel_all_variables_arg FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_parallel_limiter FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_slab FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_CENTRE] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_XLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_YLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_integrate_midpoints_salpha[CELL_ZLOW] FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_from_unstructured FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_from_unstructured_unstructured_output FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_interpolate_to_cartesian FAILED xbout/tests/test_boutdataset.py::TestBoutDatasetMethods::test_add_cartesian_coordinates FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_all - ValueError:... FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_all[None] - Val... FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_all[toroidal] FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[False-float64] FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[False-float32] FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[True-float64] FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_dtype[True-float32] FAILED xbout/tests/test_boutdataset.py::TestSave::test_save_separate_variables FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables[None] FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables[toroidal] FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables_time_split[None] FAILED xbout/tests/test_boutdataset.py::TestSave::test_reload_separate_variables_time_split[toroidal] FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart[None] FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart[1] FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull_expect_fail[npes0] FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_to_restart_change_npe_doublenull_expect_fail[npes1] FAILED xbout/tests/test_boutdataset.py::TestSaveRestart::test_from_restart_to_restart FAILED xbout/tests/test_load.py::TestOpen::test_single_file - ValueError: dim... FAILED xbout/tests/test_load.py::TestOpen::test_squashed_file - ValueError: d... FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[False-False] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[False-True] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[True-False] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull[True-True] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[False-False] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[False-True] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[True-False] FAILED xbout/tests/test_load.py::TestOpen::test_squashed_doublenull_file[True-True] FAILED xbout/tests/test_load.py::TestOpen::test_combine_along_x - ValueError:... FAILED xbout/tests/test_load.py::TestOpen::test_combine_along_y - ValueError:... FAILED xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-False-False] FAILED xbout/tests/test_load.py::TestOpen::test_combine_along_xy[lengths0-True-False] FAILED xbout/tests/test_load.py::TestOpen::test_toroidal - ValueError: dimens... FAILED xbout/tests/test_load.py::TestOpen::test_salpha - ValueError: dimensio... FAILED xbout/tests/test_load.py::TestOpen::test_drop_vars - ValueError: dimen... FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-0-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-1-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[lower-disconnected-double-null-2-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-0-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-1-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_disconnecteddoublenull[upper-disconnected-double-null-2-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[0-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[1-True-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-False-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-False-True-guards3] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards0] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards1] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards2] FAILED xbout/tests/test_plot.py::TestPlot::test_region_limiter[2-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_core[True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_sol[True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[0-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_limiter[1-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_xpoint[True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_singlenull[True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_connecteddoublenull[True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[lower-disconnected-double-null-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull[upper-disconnected-double-null-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-0-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards1-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards2-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-with_guards3-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[lower-disconnected-double-null-1-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-0-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards1-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards2-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-with_guards3-True-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-False-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-False-True-guards3] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards0] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards1] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards2] FAILED xbout/tests/test_region.py::TestRegion::test_region_disconnecteddoublenull_get_one_guard[upper-disconnected-double-null-1-True-True-guards3] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D - ValueError: ... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls0] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls1] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls2] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls3] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls4] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate2D_controls_arg[controls5] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D - ValueError: ... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls0] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls1] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls2] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls3] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls4] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate1D_controls_arg[controls5] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list - ValueErro... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_1d_default ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_1d_multiline ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_animate_over ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_save_as - V... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_fps - Value... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_nrows - Val... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_ncols - Val... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_not_enough_nrowsncols ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_subplots_adjust ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmin - Valu... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmin_list ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmax - Valu... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_vmax_list ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale - ... ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale_float ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_logscale_list ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_titles_list ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls0] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls1] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls2] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls3] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls4] ERROR xbout/tests/test_animate.py::TestAnimate::test_animate_list_controls_arg[controls5] = 610 failed, 143 passed, 5 skipped, 1719 warnings, 38 errors in 191.44s (0:03:11) = /var/tmp/rpm-tmp.rcTgPw: line 53: 591 Segmentation fault (core dumped) CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" PATH="/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/bin:$PATH" PYTHONPATH="${PYTHONPATH:-/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-xbout-0.3.6-build/BUILDROOT/usr/lib/python3.13/site-packages}" PYTHONDONTWRITEBYTECODE=1 PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} --ignore=/builddir/build/BUILD/python-xbout-0.3.6-build/xbout-0.3.6/.pyproject-builddir" PYTEST_XDIST_AUTO_NUM_WORKERS="${PYTEST_XDIST_AUTO_NUM_WORKERS:-4}" /usr/bin/pytest xbout --long --durations=0 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.rcTgPw (%check) Bad exit status from /var/tmp/rpm-tmp.rcTgPw (%check) Finish: rpmbuild python-xbout-0.3.6-5.fc43.src.rpm Finish: build phase for python-xbout-0.3.6-5.fc43.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/python-xbout-0.3.6-5.fc43.src.rpm) Config(fedora-rawhide-x86_64) 3 minutes 42 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M 37d4e9db41ca4faf81b096e94d100a11 -D /var/lib/mock/fedora-rawhide-x86_64-1745510928.265359/root -a -u mockbuild --capability=cap_ipc_lock --rlimit=RLIMIT_NOFILE=10240 --capability=cap_ipc_lock --bind=/tmp/mock-resolv.txlrcqlx:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --target x86_64 /builddir/build/originals/python-xbout.spec' Copr build error: Build failed