Skip to content

Commit

Permalink
fix for #391
Browse files Browse the repository at this point in the history
  • Loading branch information
vergauwenthomas committed Nov 8, 2023
1 parent ed2a1cc commit 66ee1d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metobs_toolkit/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,13 @@ def get_station(self, stationname):
try:
sta_df = self.df.xs(stationname, level="name", drop_level=False)
sta_metadf = self.metadf.loc[stationname].to_frame().transpose()
sta_metadf.index.name = 'name'
except KeyError:
logger.warning(f"{stationname} not found in the dataset.")
return None



try:
sta_outliers = self.outliersdf.xs(
stationname, level="name", drop_level=False
Expand Down Expand Up @@ -3104,8 +3107,6 @@ def get_landcover(self, buffers=[100], aggregate=True, overwrite=True,
# print('Download the file (as a .csv), and send it by email to: [email protected].')

# return
def printdummy(self):
print('dummy')

def make_gee_plot(self, gee_map, show_stations=True, save=False, outputfile=None):
"""Make an interactive plot of a google earth dataset.
Expand Down

0 comments on commit 66ee1d4

Please sign in to comment.