We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3055890 + 08a55bb commit a3af718Copy full SHA for a3af718
mosaic/descriptor.py
@@ -114,11 +114,17 @@ def __init__(
114
#: ``projection`` kwargs are provided.
115
self.transform = transform
116
117
- #: Boolean whether parent mesh is (planar) periodic in at least one dim
118
- self.is_periodic = attr_to_bool(mesh_ds.is_periodic)
119
#: Boolean whether parent mesh is spherical
120
self.is_spherical = attr_to_bool(mesh_ds.on_a_sphere)
121
+ if not self.is_spherical:
+ is_periodic = attr_to_bool(mesh_ds.is_periodic)
122
+ else:
123
+ is_periodic = False
124
+
125
+ #: Boolean whether parent mesh is (planar) periodic in at least one dim
126
+ self.is_periodic = is_periodic
127
128
# calls attribute setter method
129
self.latlon = use_latlon
130
0 commit comments