Skip to content

Commit

Permalink
check if values explode memory
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 17, 2024
1 parent 6e14a4a commit 15772cd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions drivers/intake_geokube/afm.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@


def postprocess_afm(dset: xr.Dataset) -> xr.Dataset:
#latitude = dset['lat'].values
#longitude = dset['lon'].values
#dset = dset.drop('lat')
#dset = dset.drop('lon')
#dset = dset.drop('certainty')
latitude = dset['lat'].values
longitude = dset['lon'].values
dset = dset.drop('lat')
dset = dset.drop('lon')
#return dset.expand_dims(dim={"lat": latitude, "lon": longitude}, axis=(1, 0)).sortby('time')
return dset.sortby('time')

Expand Down

0 comments on commit 15772cd

Please sign in to comment.