Commits

Tom Roche committed 4d78a88

README reflects refactoring 2 drivers -> 1, and links to both PDFs

Comments (0)

Files changed (1)

 [fields]: http://cran.r-project.org/web/packages/fields/
 [raster]: http://cran.r-project.org/web/packages/raster/
 
-To run either example:
+To run this code:
 
-1. Clone this repo.
-2. `cd` to its working directory.
-
-To run the first example (conversion):
-
-1. Open the driver (bash) script `GEIA_to_netCDF.sh` in an editor! You will probably need to edit it to make it work on your platform. Notably you will probably want to point it to your R and PDF viewer.
-2. Run the driver:
-    `$ ./GEIA_to_netCDF.sh`
-3. This will download input, then run an R script to convert the input to a netCDF file, and plot that file.
-4. After the R script exits, the driver should display the PDF (if properly configured in step=3). The most recent version of the PDF is also available for [download][conversion plot].
-
-[conversion plot]: https://bitbucket.org/tlroche/geia_regrid/downloads/GEIA_N2O_oceanic.pdf
-
-To run the second example (regridding), which takes as input the output from the conversion example:
-
-1. Similarly open the driver script `regrid_GEIA_netCDF.sh` and make required changes.
+1. `git clone` this repo.
+1. `cd` to its working directory (where you cloned it to).
+1. Open the driver (bash) script `GEIA_global_to_AQMEII_netCDF.sh` in an editor! You will probably need to edit it to make it work on your platform. Notably you will probably want to point it to your R executable and PDF viewer.
 2. Run the driver:
-    `$ ./regrid_GEIA_netCDF.sh`
-3. This will similarly setup and run an R script to regrid the netCDF, and plot the output.
-4. After the R script exits, the driver should display the PDF if properly configured. This PDF currently has 2 pages (p1 using `raster::plot` and p2 using `fields::image.plot`) and is also available for [download][regridding plot].
+    `$ ./GEIA_global_to_AQMEII_netCDF.sh`
+3. This will download input, then run
+    * an R script to convert the input to a netCDF file, and plot it. The driver should display [a PDF][reformatting plot] if properly configured.
+    * another R script to regrid the netCDF, and plot the output. The driver should display [a PDF][regridding plot] if properly configured. This PDF currently has 2 pages (p1 using `raster::plot` and p2 using `fields::image.plot`).
 
+[reformatting plot]: https://bitbucket.org/tlroche/geia_regrid/downloads/GEIA_N2O_oceanic.pdf
 [regridding plot]: https://bitbucket.org/tlroche/geia_regrid/downloads/GEIA_N2O_oceanic_regrid.pdf
 
 Note this code was formerly [housed at github][github repo], but was moved due to the [github's change in upload/download policy][github download policy]. (Also, IMHO, the bitbucket wikis render more attractively--YMMV.)