Background:
==========
The plog_series_by_init.py script takes as input, the netcdf file generated by the feature_relative use case (via
running the feature_relative.conf or feature_relative.conf and series_by_init_12-14_to_12-16.conf files).

Pre-requisites:
===============

Python packages:
---------------
-matplotlib
-netCDF4
-cartopy
-numpy
Python 3.6

Input files:
------------
-netcdf output files from running the feature_relative use case from METplus via 1) the feature_relative.conf file or
2) the feature_relative.conf and examples/series_by_init_12-14_to_12-16.conf file.

Input required:
==============
The user specifies the following in the series_init.yaml file that is in the same directory where
the plot_series_by_init.py script resides.  This is where you set the location of your input, output, etc.

Output created:
==============
A plot is generated of the variable+level of interest for the storm number associated that is in the netcdf input file.
The file is saved to the directory where the netcdf output resides, with a filename of format <variable>_<level>_<statistic>.png
where variable is the variable of interest (ie TMP, UBAR, HGT, etc.), level is the level of interest (ie P500, Z2, etc.),
and statistic is either fbar or obar.


How to run:
===========
set your PYTHONPATH to point to your $HOME/METplotpy directory

The plot_series_by_init.py is initially set up to run, using output data on host 'kiowa', under the
/d1/projects/METplus/METplus_Plotting_Data/series_by_init directory.

To run, 'cd' to $METplotpy/metplotpy/contributed/series_analysis/ and run the following:

python ./plot_series_by_init.py ./series_init.yaml

you will see output to stdout that shows the lat, lon, FBAR, and OBAR values for the file+variable+level+statistic of
interest and the name of the output files created.
