Skip to content

Commit

Permalink
MNT: fix wradlib links
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Feb 20, 2024
1 parent 7e9ec0b commit fddc33a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 102 deletions.
122 changes: 21 additions & 101 deletions notebooks/wradlib/wradlib_data_quality.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"import glob\n",
Expand Down Expand Up @@ -100,11 +96,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"fglob = \"../pyart/data/example_pyrad/22179/MLL22179/MLL2217907250U*.nc\"\n",
Expand All @@ -116,11 +108,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"ds = [xr.open_dataset(f, group=\"sweep_1\", engine=\"cfradial1\", chunks={}) for f in flist]"
Expand All @@ -129,11 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"vol = wrl.io.RadarVolume(engine=\"cfradial1\")\n",
Expand All @@ -144,11 +128,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"display(vol)"
Expand All @@ -166,11 +146,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"sweep_number = 3\n",
Expand All @@ -193,11 +169,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"def extract_clutter(da, wsize=5, thrsnorain=0, tr1=6.0, n_p=6, tr2=1.3, rm_nans=False):\n",
Expand Down Expand Up @@ -230,11 +202,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"swp = vol[sweep_number]\n",
Expand Down Expand Up @@ -267,11 +235,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"fig = plt.figure(figsize=(15, 12))\n",
Expand Down Expand Up @@ -320,11 +284,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"extent = wrl.zonalstats.get_bbox(swpx.x.values, swpx.y.values)\n",
Expand All @@ -334,11 +294,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"# apply fake token, data is already available\n",
Expand All @@ -352,11 +308,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"elevation = wrl.georef.read_gdal_values(dem)\n",
Expand All @@ -366,11 +318,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"elev = xr.DataArray(\n",
Expand All @@ -391,11 +339,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"fig = plt.figure(figsize=(13, 10))\n",
Expand Down Expand Up @@ -423,11 +367,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"import hvplot\n",
Expand All @@ -446,11 +386,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"cl = (\n",
Expand Down Expand Up @@ -495,11 +431,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"rastervalues, rastercoords, proj = wrl.georef.extract_raster_dataset(\n",
Expand Down Expand Up @@ -529,11 +461,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"PBB = wrl.qual.beam_block_frac(polarvalues, swpx.z.values, beamradius)\n",
Expand All @@ -544,11 +472,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"CBB = wrl.qual.cum_beam_block_frac(PBB)\n",
Expand All @@ -565,11 +489,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"jupyter": {
"outputs_hidden": false
}
},
"metadata": {},
"outputs": [],
"source": [
"# just a little helper function to style x and y axes of our maps\n",
Expand Down Expand Up @@ -836,7 +756,7 @@
"- [dask](https://docs.dask.org/)\n",
"- [gdal](https://gdal.org/index.html)\n",
"- [hvplot](https://hvplot.holoviz.org/)\n",
"- [wradlib xarray backends](https://docs.wradlib.org/en/stable/notebooks/fileio/wradlib_xarray_backends.html)\n",
"- [wradlib xarray backends](https://docs.wradlib.org/projects/old-docs/en/1.16.0/notebooks/fileio/wradlib_xarray_backends.html)\n",
"- [CfRadial1](https://ncar.github.io/CfRadial/)\n",
"- [OPERA ODIM_H5](https://www.eumetnet.eu/activities/observations-programme/current-activities/opera/)\n",
"- [WMO JET-OWR](https://community.wmo.int/governance/commission-membership/commission-observation-infrastructure-and-information-systems-infcom/commission-infrastructure-officers/infcom-management-group/standing-committee-measurements-instrumentation-and-traceability-sc-mint/joint-expert-team)"
Expand Down
2 changes: 1 addition & 1 deletion notebooks/wradlib/wradlib_radar_data_io_vis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@
"- [gdal](https://gdal.org/index.html)\n",
"- [wradlib xarray backends](https://docs.wradlib.org/en/stable/notebooks/fileio/wradlib_xarray_backends.html)\n",
"- [rioxarray](https://corteva.github.io/rioxarray/stable/)\n",
"- [wradlib scan strategy](https://docs.wradlib.org/en/stable/notebooks/visualisation/wradlib_plot_scan_strategy.html)\n",
"- [wradlib scan strategy](https://docs.wradlib.org/projects/old-docs/en/1.16.0/notebooks/visualisation/wradlib_plot_scan_strategy.html)\n",
"- [Leonardo - Rainbow5](https://electronics.leonardo.com/en/products/rainbow-5-application-software)\n",
"- [OPERA ODIM_H5](https://www.eumetnet.eu/activities/observations-programme/current-activities/opera/)\n",
"- [WMO JET-OWR](https://community.wmo.int/governance/commission-membership/commission-observation-infrastructure-and-information-systems-infcom/commission-infrastructure-officers/infcom-management-group/standing-committee-measurements-instrumentation-and-traceability-sc-mint/joint-expert-team)"
Expand Down

0 comments on commit fddc33a

Please sign in to comment.