Skip to content

Commit

Permalink
Merge pull request #87 from ecmwf/feature/test_fixes
Browse files Browse the repository at this point in the history
fix tests
  • Loading branch information
mathleur authored Feb 6, 2024
2 parents 90b52af + 360e583 commit e322973
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions polytope/datacube/backends/fdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def __init__(self, config={}, axis_options={}):
partial_request = config
# Find values in the level 3 FDB datacube

self.fdb = pygj.GribJump()
self.fdb_coordinates = self.fdb.axes(partial_request)
self.gj = pygj.GribJump()
self.fdb_coordinates = self.gj.axes(partial_request)
self.fdb_coordinates["values"] = []
for name, values in self.fdb_coordinates.items():
values.sort()
Expand All @@ -43,7 +43,7 @@ def get(self, requests: IndexTree):
fdb_requests = []
fdb_requests_decoding_info = []
self.get_fdb_requests(requests, fdb_requests, fdb_requests_decoding_info)
output_values = self.fdb.extract(fdb_requests)
output_values = self.gj.extract(fdb_requests)
self.assign_fdb_output_to_nodes(output_values, fdb_requests_decoding_info)

def get_fdb_requests(self, requests: IndexTree, fdb_requests=[], fdb_requests_decoding_info=[], leaf_path={}):
Expand Down

0 comments on commit e322973

Please sign in to comment.