Skip to content

Instantly share code, notes, and snippets.

@rileyhales
Last active April 19, 2024 08:38
Show Gist options
  • Save rileyhales/873896e426a5bd1c4e68120b286bc029 to your computer and use it in GitHub Desktop.
Save rileyhales/873896e426a5bd1c4e68120b286bc029 to your computer and use it in GitHub Desktop.
geoglows_package_tutorial.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mn5hk
Copy link

mn5hk commented Apr 19, 2024

Hi Dr. Hales,

The visualization functions, such as:

# Statistical summary of the forecasted flows
forecast_figure = geoglows.plots.forecast_stats(stats, rperiods, titles=title)
forecast_figure.show()

appear not to be working correctly at the moment. Request the minor bug to be fixed.

Sharing some error msgs on the above code snippet below:

AttributeError                            Traceback (most recent call last)
Cell In[21], [line 2](vscode-notebook-cell:?execution_count=21&line=2)
      [1](vscode-notebook-cell:?execution_count=21&line=1) # View the previously saved forecasts
----> [2](vscode-notebook-cell:?execution_count=21&line=2) records_figure = geoglows.plots.forecast_records(records, rperiods, titles=title)
      [3](vscode-notebook-cell:?execution_count=21&line=3) records_figure.show()

AttributeError: module 'geoglows._plots' has no attribute 'forecast_records'

AttributeError                            Traceback (most recent call last)
Cell In[30], [line 2](vscode-notebook-cell:?execution_count=30&line=2)
      [1](vscode-notebook-cell:?execution_count=30&line=1) # View the previously saved forecasts
----> [2](vscode-notebook-cell:?execution_count=30&line=2) records_figure = geoglows.plots.forecast_records(records, rperiods)
      [3](vscode-notebook-cell:?execution_count=30&line=3) records_figure.show()

AttributeError: module 'geoglows._plots' has no attribute 'forecast_records'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment