Skip to content
Snippets Groups Projects
Commit 2b456ffe authored by Carsten Hinz's avatar Carsten Hinz
Browse files

added some output for testing

parent a2d0a78a
No related branches found
No related tags found
3 merge requests!11Creation of first beta release version,!10change in metadata of notebook,!9change in metadata of notebook
......@@ -152,6 +152,7 @@ class RegularGrid(GridDefinition):
data_grouped_by_cell = self.group_data_by_cell(
data.stations_data, data.stations_coords
)
print(f"{data_grouped_by_cell}")
cell_statistics = self.get_cell_statistics(data_grouped_by_cell)
dataset = self.create_dataset(cell_statistics, data.metadata)
......@@ -173,9 +174,11 @@ class RegularGrid(GridDefinition):
cell_indices = self.as_cell_index(coords)
# will convert cell_indices to float as some nans ar present
print(data)
data_with_indices = data.join(
cell_indices.to_frame(GridDefinition.cell_index_name), how="outer"
)
print(data)
return data_with_indices.groupby(GridDefinition.cell_index_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment