Skip to content

Commit

Permalink
deploy: fb9e9f9
Browse files Browse the repository at this point in the history
  • Loading branch information
rcjackson committed Jul 27, 2023
1 parent e559501 commit 79f3159
Show file tree
Hide file tree
Showing 96 changed files with 1,056 additions and 785 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 24ff1f59ce791f180450e636a43501ef
config: e43e84fea0f41cfa6a587f7c66ed0010
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"import pyart\nimport pydda\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport pooch\n\ngrid1_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid1_sydney.nc\",\n known_hash=None)\ngrid2_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid2_sydney.nc\",\n known_hash=None)\ngrid3_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid3_sydney.nc\",\n known_hash=None)\ngrid4_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid4_sydney.nc\",\n known_hash=None)\ngrid1 = pyart.io.read_grid(grid1_path)\ngrid2 = pyart.io.read_grid(grid2_path)\ngrid3 = pyart.io.read_grid(grid3_path)\ngrid4 = pyart.io.read_grid(grid4_path)\n\n# Set initialization and do retrieval\ngrid1 = pydda.initialization.make_constant_wind_field(grid1, vel_field='VRADH_corr')\nnew_grids, _ = pydda.retrieval.get_dd_wind_field([grid1, grid2, grid3, grid4],\n Co=1e-2, Cm=256.0, Cx=1e-4, Cy=1e-4,\n Cz=1e-4,\n vel_name='VRADH_corr', refl_field='DBZH', \n mask_outside_opt=True, wind_tol=0.1,\n max_iterations=200,\n engine='jax')\n# Make a neat plot\nfig = plt.figure(figsize=(10,7))\nax = pydda.vis.plot_horiz_xsection_quiver_map(new_grids, background_field='DBZH', level=3,\n show_lobes=False, bg_grid_no=3, vmin=0, vmax=60,\n quiverkey_len=20.0, w_vel_contours=[5., 10., 20, 30., 40.],\n quiver_spacing_x_km=2.0, quiver_spacing_y_km=2.0,\n quiverkey_loc='top', colorbar_contour_flag=True,\n cmap='pyart_HomeyerRainbow')\nax.set_xticks(np.arange(150.5, 153, 0.1))\nax.set_yticks(np.arange(-36, -32.0, 0.1))\nax.set_xlim([151.0, 151.35])\nax.set_ylim([-34.15, -33.9])\nplt.show()"
"import pyart\nimport pydda\nimport matplotlib.pyplot as plt\nimport numpy as np\nimport pooch\n\ngrid1_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid1_sydney.nc\",\n known_hash=None)\ngrid2_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid2_sydney.nc\",\n known_hash=None)\ngrid3_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid3_sydney.nc\",\n known_hash=None)\ngrid4_path = pooch.retrieve(\n url=\"https://github.com/rcjackson/pydda-sample-data/raw/main/pydda-sample-data/grid4_sydney.nc\",\n known_hash=None)\ngrid1 = pyart.io.read_grid(grid1_path)\ngrid2 = pyart.io.read_grid(grid2_path)\ngrid3 = pyart.io.read_grid(grid3_path)\ngrid4 = pyart.io.read_grid(grid4_path)\n\n# Set initialization and do retrieval\ngrid1 = pydda.initialization.make_constant_wind_field(grid1, vel_field='VRADH_corr')\nnew_grids, _ = pydda.retrieval.get_dd_wind_field([grid1, grid2, grid3, grid4],\n Co=1e-2, Cm=256.0, Cx=1e-4, Cy=1e-4,\n Cz=1e-4,\n vel_name='VRADH_corr', refl_field='DBZH', \n mask_outside_opt=True, wind_tol=0.1,\n max_iterations=200,\n engine='tensorflow')\n# Make a neat plot\nfig = plt.figure(figsize=(10,7))\nax = pydda.vis.plot_horiz_xsection_quiver_map(new_grids, background_field='DBZH', level=3,\n show_lobes=False, bg_grid_no=3, vmin=0, vmax=60,\n quiverkey_len=20.0, w_vel_contours=[5., 10., 20, 30., 40.],\n quiver_spacing_x_km=2.0, quiver_spacing_y_km=2.0,\n quiverkey_loc='top', colorbar_contour_flag=True,\n cmap='pyart_HomeyerRainbow')\nax.set_xticks(np.arange(150.5, 153, 0.1))\nax.set_yticks(np.arange(-36, -32.0, 0.1))\nax.set_xlim([151.0, 151.35])\nax.set_ylim([-34.15, -33.9])\nplt.show()"
]
}
],
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified _downloads/ab3f1d02845a1733d70fa1920be9f038/gridding-1.pdf
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
vel_name='VRADH_corr', refl_field='DBZH',
mask_outside_opt=True, wind_tol=0.1,
max_iterations=200,
engine='jax')
engine='tensorflow')
# Make a neat plot
fig = plt.figure(figsize=(10,7))
ax = pydda.vis.plot_horiz_xsection_quiver_map(new_grids, background_field='DBZH', level=3,
Expand Down
Binary file modified _images/sphx_glr_plot_examples_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_examples_003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_fun_with_constraints_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_fun_with_constraints_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_fun_with_constraints_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_sydney_tornado_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified _images/sphx_glr_plot_sydney_tornado_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _modules/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Overview: module code &#8212; PyDDA 1.3.0 documentation</title>
<title>Overview: module code &#8212; PyDDA 1.3.1 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion _modules/pydda/constraints/model_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pydda.constraints.model_data &#8212; PyDDA 1.3.0 documentation</title>
<title>pydda.constraints.model_data &#8212; PyDDA 1.3.1 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion _modules/pydda/constraints/station_data.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>pydda.constraints.station_data &#8212; PyDDA 1.3.0 documentation</title>
<title>pydda.constraints.station_data &#8212; PyDDA 1.3.1 documentation</title>

<!-- Loaded before other Sphinx assets -->
<link href="../../../_static/styles/theme.css?digest=1999514e3f237ded88cf" rel="stylesheet">
Expand Down
Loading

0 comments on commit 79f3159

Please sign in to comment.