Tom Roche committed bb513be

added "standard" TOC and section=TODOs, switched github references to bitbucket (live ones, anyway), "CLM-CN" -> "CLM-CN-N2O"

  • Participants
  • Parent commits d0b1277

Comments (0)

Files changed (1)

+*(part of the [AQMEII-NA_N2O][AQMEII-NA_N2O wiki home] family of projects)*
+**table of contents**
+# description
 Uses [bash][bash @ wikipedia] to drive [NCL][NCL @ wikipedia] and [R][R @ wikipedia] code to
-1. "reunit" the data from CLM-CN's `mgN/m^2` to `molN2O/s` (what CMAQ wants).
-1. 2D-regrid [CLM-CN][] data (in [netCDF][] format) from global/unprojected to a projected subdomain ([AQMEII-NA][]).
+1. "reunit" the data from [CLM-CN-N2O][]'s `mgN/m^2` to `molN2O/s` (what CMAQ wants).
+1. 2D-regrid the data (in [netCDF][] format) from global/unprojected to a projected subdomain ([AQMEII-NA][]).
 1. "retemporalize" from monthly timestep to hourly, creating CMAQ-style emissions files (e.g., [this][emis_mole_N2O_200801_12US1_cmaq_cb05_soa_2008ab_08c.ncf.gz], when `gunzip`ed) containing hourly emissions usable for any day in the month labeled (e.g., `200801` in the link).
 1. check that mass is (more or less) conserved in all of the above
 [NCL @ wikipedia]:
 [R @ wikipedia]:
+# operation
 To run this code,
 1. `git clone` this repo.
 1. Run the driver:
     `$ ./`
         This will download input, then run
-    * an [NCL script][reunit.ncl] to [convert raw-input concentrations][CLM-CN input processing @ project wiki] to units appropriate for [CMAQ][CMAQ @ CMAS].
+    * an [NCL script][reunit.ncl] to convert raw-input concentrations to units appropriate for [CMAQ][CMAQ @ CMAS].
     * an [R script][regrid_global_to_AQMEII.r] to plot the reunit-ed netCDF data, regrid it, and plot the output. The driver should display [an input PDF][global plot] and [an output PDF][AQMEII plot] if properly configured.
     * an [NCL script][retemp.ncl] to "retemporalize" the regridded output into monthly files (since the input is monthly) with hourly timesteps (since at this point we have "flat temporality": we assume emission at constant `mol/s` for each hour of the month).
     * an [NCL script][check_conservation.ncl] to check conservation of mass from input to output. Given that the output domain (AQMEII-NA) is significantly smaller than the input domain (global), it merely reports the fraction of mass (as mgN) in output vs input, and compares that to an estimation of the land area of the output domain relative to the input domain. Current output is
-[CLM-CN input processing @ project wiki]:
+[CLM-CN-N2O input processing @ project wiki]:
 [global plot]:
 [AQMEII plot]:
+# TODOs
+1. move all these TODOs to [issue tracker][CLM-CN-N2O issues]
+1. create common project for `regrid_resources` à la [regrid_utils][], so I don't hafta hunt down which resource is in which project
+1. all regrids: how to nudge off/onshore as required? e.g., soil or burning emissions should never be offshore, marine emissions should never be onshore.
+1. all regrid maps: add Caribbean islands (esp Bahamas! for offshore burning), Canadian provinces, Mexican states
+1. complain to ncl-talk about NCL "unsupported extensions," e.g., .ncf and <null/> (e.g., MCIP output)
+1. determine why '<-' assignment is occasionally required in calls to visualize.*(...)
+1. fully document platform versions (e.g., linux, compilers, bash, NCL, R)
+1. test on
+    * tlrPanP5 (which now has R package=ncdf4, but readAsciiTable of input .txt's is very slow compared to terrae)
+    * HPCC (once problem with ncdf4 on amad1 is debugged: in process with JOB and KMF)
+[CLM-CN-N2O issues]: