Skip to content

Commit

Permalink
test examples
Browse files Browse the repository at this point in the history
  • Loading branch information
egagli committed Sep 22, 2024
1 parent 7242545 commit 21a1401
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions easysnowdata/hydroclimatology.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,13 +273,10 @@ def get_koppen_geiger_classes(
Examples
--------
Get Köppen-Geiger climate classification data for the entire globe with a 1-degree resolution, use custom plotting function...
Get Köppen-Geiger climate classification data for the entire globe with a 1-degree resolution, use custom plotting function:
>>> koppen_data = get_koppen_geiger_classes(bbox_input=None, resolution="1 degree")
>>> koppen_data.attrs['plot_classes'](koppen_data)
Get Köppen-Geiger climate classification data for a specific region with a 1 km resolution, plot using xarray's built-in plotting function...
Get Köppen-Geiger climate classification data for a specific region with a 1 km resolution, plot using xarray's built-in plotting function
>>> koppen_geiger_da = get_koppen_geiger_classes(bbox_input=(-121.94224976, 46.72842173, -121.54136001, 46.99728203), resolution="1 km")
>>> koppen_data.plot(cmap=koppen_data.attrs["cmap"])
Expand Down

0 comments on commit 21a1401

Please sign in to comment.