diff --git a/README.md b/README.md
index 42414d8..a293c27 100644
--- a/README.md
+++ b/README.md
@@ -21,14 +21,14 @@ pip install pydartdiags
## Example importing the obs\_sequence and plots modules
```python
-from pydartdiags.obs_sequence import obs_sequence as obs_seq
+from pydartdiags.obs_sequence import obs_sequence as obsq
from pydartdiags.plots import plots
```
## Examining the dataframe
```python
-obs_seq = obs_seq.obs_sequence('obs_seq.final.ascii')
+obs_seq = obsq.obs_sequence('obs_seq.final.ascii')
obs_seq.df.head()
```
@@ -189,7 +189,7 @@ obs_seq.df.head()
Find the numeber of assimilated (used) observations vs. possible observations by type
```python
-obs_seq.possible_vs_used(obs_seq.df)
+obsq.possible_vs_used(obs_seq.df)
```
@@ -346,7 +346,7 @@ obs_seq.possible_vs_used(obs_seq.df)
* plot the rank histogram
```python
-df_qc0 = obs_seq.select_by_dart_qc(obs_seq.df, 0)
+df_qc0 = obsq.select_by_dart_qc(obs_seq.df, 0)
plots.plot_rank_histogram(df_qc0)
```
![Rank Histogram](docs/images/rankhist.png)
@@ -362,7 +362,7 @@ plots.plot_rank_histogram(df_qc0)
hPalevels = [0.0, 100.0, 150.0, 200.0, 250.0, 300.0, 400.0, 500.0, 700, 850, 925, 1000]# float("inf")] # Pa?
plevels = [i * 100 for i in hPalevels]
-df_qc0 = obs_seq.select_by_dart_qc(obs_seq.df, 0) # only qc 0
+df_qc0 = obsq.select_by_dart_qc(obs_seq.df, 0) # only qc 0
df_profile, figrmse, figbias = plots.plot_profile(df_qc0, plevels)
```
diff --git a/docs/quickstart.rst b/docs/quickstart.rst
index b975f86..4a08a4b 100644
--- a/docs/quickstart.rst
+++ b/docs/quickstart.rst
@@ -18,7 +18,7 @@ Import the obs_sequence and plots module
.. code-block :: python
- from pydartdiags.obs_sequence import obs_sequence as obs_seq
+ from pydartdiags.obs_sequence import obs_sequence as obsq
from pydartdiags.plots import plots
@@ -29,7 +29,7 @@ Read an observation sequence file into a DataFrama
.. code-block :: python
- obs_seq = obs_seq.obs_sequence('obs_seq.final.ascii')
+ obs_seq = obsq.obs_sequence('obs_seq.final.ascii')
Examine the DataFrame
@@ -199,7 +199,7 @@ Find the numeber of assimilated (used) observations vs. possible observations by
.. code-block :: python
- obs_seq.possible_vs_used(obs_seq.df)
+ obsq.possible_vs_used(obs_seq.df)
.. raw :: html
@@ -358,7 +358,7 @@ plot a rank histogram
.. code-block :: python
- df_qc0 = obs_seq.select_by_dart_qc(obs_seq.df, 0)
+ df_qc0 = obsq.select_by_dart_qc(obs_seq.df, 0)
plots.plot_rank_histogram(df_qc0)
.. image:: images/rankhist.png
@@ -376,7 +376,7 @@ plot profiles of RMSE and Bias
hPalevels = [0.0, 100.0, 150.0, 200.0, 250.0, 300.0, 400.0, 500.0, 700, 850, 925, 1000] # Pa?
plevels = [i * 100 for i in hPalevels]
- df_qc0 = obs_seq.select_by_dart_qc(obs_seq.df, 0) # only qc 0
+ df_qc0 = obsq.select_by_dart_qc(obs_seq.df, 0) # only qc 0
df_profile, figrmse, figbias = plots.plot_profile(df_qc0, plevels)
.. image:: images/rmse.png