Skip to content

Commit

Permalink
expanding only lat
Browse files Browse the repository at this point in the history
  • Loading branch information
gtramonte committed Jul 17, 2024
1 parent 15772cd commit 5c4cea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/intake_geokube/afm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def postprocess_afm(dset: xr.Dataset) -> xr.Dataset:
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')
dset = dset.sortby('time')
return dset.expand_dims(dim={"lat": latitude}, axis=0) #, "lon": longitude}, axis=(1, 0))


class CMCCAFMSource(GeokubeSource):
Expand Down

0 comments on commit 5c4cea8

Please sign in to comment.