You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by le...@apache.org on 2014/10/20 00:46:41 UTC

git commit: CLIMATE-533 Revisit mccsearch README making updates as required

Repository: climate
Updated Branches:
  refs/heads/master 26b6c910c -> 6d47a5783


CLIMATE-533 Revisit mccsearch README making updates as required


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/6d47a578
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/6d47a578
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/6d47a578

Branch: refs/heads/master
Commit: 6d47a57836f80e79c626ba0a38b36a0d6f9a23ed
Parents: 26b6c91
Author: Lewis John McGibbney <le...@jpl.nasa.gov>
Authored: Thu Oct 16 22:38:40 2014 -0700
Committer: Lewis John McGibbney <le...@jpl.nasa.gov>
Committed: Thu Oct 16 22:38:40 2014 -0700

----------------------------------------------------------------------
 mccsearch/docs/README.docx  | Bin 192118 -> 0 bytes
 mccsearch/docs/mccsearch.md |  60 ++++++++++++++++++++++-----------------
 2 files changed, 34 insertions(+), 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/6d47a578/mccsearch/docs/README.docx
----------------------------------------------------------------------
diff --git a/mccsearch/docs/README.docx b/mccsearch/docs/README.docx
deleted file mode 100644
index 648637e..0000000
Binary files a/mccsearch/docs/README.docx and /dev/null differ

http://git-wip-us.apache.org/repos/asf/climate/blob/6d47a578/mccsearch/docs/mccsearch.md
----------------------------------------------------------------------
diff --git a/mccsearch/docs/mccsearch.md b/mccsearch/docs/mccsearch.md
index a6bb336..22b9fdc 100644
--- a/mccsearch/docs/mccsearch.md
+++ b/mccsearch/docs/mccsearch.md
@@ -1,36 +1,43 @@
 #Graph-based Search for the Identification and Chatacterization of Mesoscale Convective Complexes
 
-##Very Brief Introduction
-If you are in this file it means that you wish to use the mccSearch.py program, or learn more about it. 
-
-##What is this project about?
+##Introduction and Context
 This program searches for a weather feature known as a Mesoscale Convective Complex (MCC) in gridded infrared and precipitation rate satellite data (MERG and TRMM datasets have been tested). 
-The data is read from netCDF files into arrays with the dimensions time, latitude, longitude, value. 
+The work is direct output from [Dr. Kim Whitehall's](http://www.kimwhitehall.com/) Ph.D. thesis which acts as the basis and driver for inclusion in OCW.
+
+Data from MERG and TRMM datasets is read from netCDF files into arrays with the dimensions time, latitude, longitude, value. From the data we can then infer and generate a number of things:
+ * a graph representing Cloud Elements (CE)
+ * analysis of the graph to determine whether any Cloud Clusters (CC) are present
+ * determination of whether any of the CC are MCC
+ * futher metrics calculation and analysis with a specific focus on MCC examples of which include average size and duration, longest and shortest, precipitation distribution in feature
+ * numerous visualizations including histograms of precipitation during MCC, area Vs time plots, cross dataset visualization of CE... 
+If you are still reading this file it means that you wish to use the mccsearch program, or learn more about it within the context of OCW.
 
 ##What is needed?
- * Python 2.7.4 (We used Anaconda 1.5.1 64 bit libraries, which installed most of the dependencies.) Other module dependences: 
- * netCDF4 - http://www.unidata.ucar.edu/software/netcdf/
- * sciPy - http://www.scipy.org/scipylib/index.html
- * NumPy - http://www.scipy.org/scipylib/download.html
- * Networkx - https://networkx.github.io/download.html
- * matplotlib - http://matplotlib.org/downloads.html
- * GrADS (We used OpenGrADS grads2 Version 2.0.1.oga.1) - http://sourceforge.net/projects/opengrads/files/
+ * Python (verified with 2.7.4) - http://python.org
+ * netCDF4 (verified with netCDF4-1.1.1)- http://www.unidata.ucar.edu/software/netcdf/
+ * sciPy (verified with 0.14.0)- http://www.scipy.org/scipylib/index.html
+ * NumPy (verified with 1.9.0)- http://www.scipy.org/scipylib/download.html
+ * Networkx (verified with 3.4.0) - https://networkx.github.io/download.html
+ * matplotlib (verified with 1.4.0)- http://matplotlib.org/downloads.html
+ * GrADS (verified against OpenGrADS grads2 Version 2.0.1.oga.1) - http://sourceforge.net/projects/opengrads/files/
  * LATS4D - http://sourceforge.net/projects/opengrads/files/
 
-##Download the source code and store in a folder
- * mccSearch.py contains all the function needed 
- * mccSearchUI.py contains a wizard type Q&A for running the program
- * process.py contains some needed functions (from older version of Apache OCW)
- * file.py contains some needed functions (from older version of Apache OCW)
- * mainProg.py contains a sample of the  general workflow of the order the modules should be called. There are three main inputs you will have to supply:
-     * mainDirStr : this is the directory where you wish all the output files –images, textfiles, clipped netCDF files- to be stored
-     * TRMMdirName : this is the directory where the original TRMM data in netCDF format is stored
-     * CEoriDirName : this is the directory where the original MERG data in netCDF format is stored
- * Store the GrADsScripts folder (and contents) in a separate folder in the same main directory as the source code folder.  
-
-##Download data in one folder (with only the data files)
-This is a very crude program. The following assumptions are made:
- * input data are in one folder. For MERG data this is CEoriDirName and for the TRMM data this is TRMMdirName in mainProg.py.  These directories cannot be the same.
+So, without further a-do, lets progress with using mccsearch.
+
+##Source Code
+ * [mccSearch.py](../code/mccSearch.py) contains the primary MCC functionality
+ * [mccSearchUI.py](../code/mccSearchUI.py) contains a wizard type Q&A for running the mccSearch program
+ * [process.py](../code/process.py) currently contains some required functions from older version of OCW. This code will most likely be factored out by the release of OCW 0.5.
+ * [file.py](../code/files.py) currently contains some required functions from older version of OCW. This code will most likely be factored out by the release of OCW 0.5.
+ * [mainProg.py](../code/mainProg.py) contains a sample of the  general workflow of the order the modules should be called. You will have to supply three main input arguments:
+     * mainDirStr : a directory where you wish all the output files –images, textfiles, clipped netCDF files- to be stored
+     * TRMMdirName : a directory containing the original TRMM data in netCDF format
+     * CEoriDirName : a directory containing the original MERG data in netCDF format
+ * a [GrADsScripts](../GrADsScripts/) folder containing templating and configuration files used within the execution of mccsearch. 
+
+##Download MERG and TRMM data
+The following assumptions are made:
+ * Input data are in one folder. mainProg.py looks for MERG data as a single directory 'CEoriDirName' and TRMM data as a single directory 'TRMMdirName', just as described above. These directories cannot be the same and the data all needs to be of type netCDF data files only.
  * THERE IS NO FILE CHECKING. So please ensure ALL your files are there in netCDF format. 
  * THERE IS NO FILE ERROR HANDLING. Please ensure that the MERG data and the TRMM data files are correlated temporally and spatially
 
@@ -55,3 +62,4 @@ Keep your fingers & toes crossed!! Once everything went well, the directory you
  * Create a user interface based on mainProg.py. 
  * Plug the project into the Regional Climate Model Evaluation Database (RCMED) that is available at Apache OCW. 
 With increased usage, it is anticipated that more metrics and visualizations will be provided. 
+ * There are a [number of issues](http://s.apache.org/mccsearch) in the OCW Jira relating to mccsearch. If you find an issue, please [open an issue](https://issues.apache.org/jira/browse/climate) and tag it with the [mcc search](http://s.apache.org/mccsearch) tag.