prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Example Incorrect
  ### Description
  
  This example says it's for plotting sounding data but the example uses MET data.  We should update this to be what it was originally intended.
  https://arm-doe.github.io/ACT/source/auto_examples/plotting/plot_sonde.html
  
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `examples/plotting/plot_sonde.py`
  Content:
  ```
  1 """
  2 Plot a timeseries of sounding data
  3 ----------------------------------------------------
  4 
  5 This is a simple example for how to plot a timeseries of sounding
  6 data from the ARM SGP site.
  7 
  8 Author: Robert Jackson
  9 """
  10 
  11 from matplotlib import pyplot as plt
  12 
  13 import act
  14 
  15 files = act.tests.sample_files.EXAMPLE_MET_WILDCARD
  16 met_ds = act.io.armfiles.read_netcdf(files)
  17 print(met_ds)
  18 met_temp = met_ds.temp_mean
  19 met_rh = met_ds.rh_mean
  20 met_lcl = (20.0 + met_temp / 5.0) * (100.0 - met_rh) / 1000.0
  21 met_ds['met_lcl'] = met_lcl * 1000.0
  22 met_ds['met_lcl'].attrs['units'] = 'm'
  23 met_ds['met_lcl'].attrs['long_name'] = 'LCL Calculated from SGP MET E13'
  24 
  25 # Plot data
  26 display = act.plotting.TimeSeriesDisplay(met_ds)
  27 display.add_subplots((3,), figsize=(15, 10))
  28 display.plot('wspd_vec_mean', subplot_index=(0,))
  29 display.plot('temp_mean', subplot_index=(1,))
  30 display.plot('rh_mean', subplot_index=(2,))
  31 plt.show()
  32
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/examples/plotting/plot_sonde.py b/examples/plotting/plot_sonde.py
  --- a/examples/plotting/plot_sonde.py
  +++ b/examples/plotting/plot_sonde.py
  @@ -12,20 +12,14 @@
   
   import act
   
  -files = act.tests.sample_files.EXAMPLE_MET_WILDCARD
  -met_ds = act.io.armfiles.read_netcdf(files)
  -print(met_ds)
  -met_temp = met_ds.temp_mean
  -met_rh = met_ds.rh_mean
  -met_lcl = (20.0 + met_temp / 5.0) * (100.0 - met_rh) / 1000.0
  -met_ds['met_lcl'] = met_lcl * 1000.0
  -met_ds['met_lcl'].attrs['units'] = 'm'
  -met_ds['met_lcl'].attrs['long_name'] = 'LCL Calculated from SGP MET E13'
  +files = act.tests.sample_files.EXAMPLE_SONDE1
  +sonde_ds = act.io.armfiles.read_netcdf(files)
  +print(sonde_ds)
   
   # Plot data
  -display = act.plotting.TimeSeriesDisplay(met_ds)
  +display = act.plotting.TimeSeriesDisplay(sonde_ds)
   display.add_subplots((3,), figsize=(15, 10))
  -display.plot('wspd_vec_mean', subplot_index=(0,))
  -display.plot('temp_mean', subplot_index=(1,))
  -display.plot('rh_mean', subplot_index=(2,))
  +display.plot('wspd', subplot_index=(0,))
  +display.plot('tdry', subplot_index=(1,))
  +display.plot('rh', subplot_index=(2,))
   plt.show()
  
verification_info: {"golden_diff": "diff --git a/examples/plotting/plot_sonde.py b/examples/plotting/plot_sonde.py\n--- a/examples/plotting/plot_sonde.py\n+++ b/examples/plotting/plot_sonde.py\n@@ -12,20 +12,14 @@\n \n import act\n \n-files = act.tests.sample_files.EXAMPLE_MET_WILDCARD\n-met_ds = act.io.armfiles.read_netcdf(files)\n-print(met_ds)\n-met_temp = met_ds.temp_mean\n-met_rh = met_ds.rh_mean\n-met_lcl = (20.0 + met_temp / 5.0) * (100.0 - met_rh) / 1000.0\n-met_ds['met_lcl'] = met_lcl * 1000.0\n-met_ds['met_lcl'].attrs['units'] = 'm'\n-met_ds['met_lcl'].attrs['long_name'] = 'LCL Calculated from SGP MET E13'\n+files = act.tests.sample_files.EXAMPLE_SONDE1\n+sonde_ds = act.io.armfiles.read_netcdf(files)\n+print(sonde_ds)\n \n # Plot data\n-display = act.plotting.TimeSeriesDisplay(met_ds)\n+display = act.plotting.TimeSeriesDisplay(sonde_ds)\n display.add_subplots((3,), figsize=(15, 10))\n-display.plot('wspd_vec_mean', subplot_index=(0,))\n-display.plot('temp_mean', subplot_index=(1,))\n-display.plot('rh_mean', subplot_index=(2,))\n+display.plot('wspd', subplot_index=(0,))\n+display.plot('tdry', subplot_index=(1,))\n+display.plot('rh', subplot_index=(2,))\n plt.show()\n", "issue": "Example Incorrect\n### Description\r\n\r\nThis example says it's for plotting sounding data but the example uses MET data.  We should update this to be what it was originally intended.\r\nhttps://arm-doe.github.io/ACT/source/auto_examples/plotting/plot_sonde.html\r\n\r\n\n", "before_files": [{"content": "\"\"\"\nPlot a timeseries of sounding data\n----------------------------------------------------\n\nThis is a simple example for how to plot a timeseries of sounding\ndata from the ARM SGP site.\n\nAuthor: Robert Jackson\n\"\"\"\n\nfrom matplotlib import pyplot as plt\n\nimport act\n\nfiles = act.tests.sample_files.EXAMPLE_MET_WILDCARD\nmet_ds = act.io.armfiles.read_netcdf(files)\nprint(met_ds)\nmet_temp = met_ds.temp_mean\nmet_rh = met_ds.rh_mean\nmet_lcl = (20.0 + met_temp / 5.0) * (100.0 - met_rh) / 1000.0\nmet_ds['met_lcl'] = met_lcl * 1000.0\nmet_ds['met_lcl'].attrs['units'] = 'm'\nmet_ds['met_lcl'].attrs['long_name'] = 'LCL Calculated from SGP MET E13'\n\n# Plot data\ndisplay = act.plotting.TimeSeriesDisplay(met_ds)\ndisplay.add_subplots((3,), figsize=(15, 10))\ndisplay.plot('wspd_vec_mean', subplot_index=(0,))\ndisplay.plot('temp_mean', subplot_index=(1,))\ndisplay.plot('rh_mean', subplot_index=(2,))\nplt.show()\n", "path": "examples/plotting/plot_sonde.py"}], "after_files": [{"content": "\"\"\"\nPlot a timeseries of sounding data\n----------------------------------------------------\n\nThis is a simple example for how to plot a timeseries of sounding\ndata from the ARM SGP site.\n\nAuthor: Robert Jackson\n\"\"\"\n\nfrom matplotlib import pyplot as plt\n\nimport act\n\nfiles = act.tests.sample_files.EXAMPLE_SONDE1\nsonde_ds = act.io.armfiles.read_netcdf(files)\nprint(sonde_ds)\n\n# Plot data\ndisplay = act.plotting.TimeSeriesDisplay(sonde_ds)\ndisplay.add_subplots((3,), figsize=(15, 10))\ndisplay.plot('wspd', subplot_index=(0,))\ndisplay.plot('tdry', subplot_index=(1,))\ndisplay.plot('rh', subplot_index=(2,))\nplt.show()\n", "path": "examples/plotting/plot_sonde.py"}]}