Skip to content

Commit 57fb90f

Browse files
authored
Merge pull request #12 from pzaborowski/edr_fixed_axis
Edr fixed axis
2 parents 9c0be8b + baf9c7c commit 57fb90f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pygeoapi/provider/xarray_.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def gen_covjson(self, metadata, data, fields):
250250
"""
251251

252252
LOGGER.debug('Creating CoverageJSON domain')
253-
minx, miny, maxx, maxy = metadata['bbox']
253+
startx, starty, stopx, stopy = metadata['bbox']
254254
mint, maxt = metadata['time']
255255

256256
selected_fields = {
@@ -265,13 +265,13 @@ def gen_covjson(self, metadata, data, fields):
265265
'domainType': 'Grid',
266266
'axes': {
267267
'x': {
268-
'start': minx,
269-
'stop': maxx,
268+
'start': startx,
269+
'stop': stopx,
270270
'num': metadata['width']
271271
},
272272
'y': {
273-
'start': miny,
274-
'stop': maxy,
273+
'start': starty,
274+
'stop': stopy,
275275
'num': metadata['height']
276276
},
277277
self.time_axis_covjson: {

0 commit comments

Comments
 (0)