Skip to content

Commit

Permalink
Reimplement metadata, field and fieldlist for netcdf and update numpy…
Browse files Browse the repository at this point in the history
… fieldlist notebook
  • Loading branch information
sandorkertesz committed Aug 11, 2023
1 parent bc507c8 commit cef8500
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions earthkit/data/core/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ def __init__(self, lst):
def __call__(self, x):
if self.first and x is not None:
self.lst = [
lambda y: type(x) if not type(x) == type(y) else y
for y in self.lst
type(x) if not type(x) == type(y) else y for y in self.lst
]
self.first = False
return x in self.lst
Expand Down

0 comments on commit cef8500

Please sign in to comment.