We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 13f30bd + 46149d2 commit 8031503Copy full SHA for 8031503
1 file changed
pygeoapi/provider/xarray_.py
@@ -108,6 +108,8 @@ def get_fields(self):
108
if not self._fields:
109
for key, value in self._data.variables.items():
110
if key not in self._data.coords:
111
+ if not {self.time_field, self.x_field, self.y_field}.issubset(value.dims):
112
+ continue
113
LOGGER.debug('Adding variable')
114
dtype = value.dtype
115
if dtype.name.startswith('float'):
0 commit comments