GRIDS Improvements

    current suggestions

  1. Input Testing:

  2. Enable GRIDS to work with TerrainBase topography. This will require looking for North & South Pole attributes.

  3. Take more control in GRIDS

  4. Nesting:
    • crs2fne
      • check the fine domain extent to make sure it's contained within the large domain.
      • check the Bessel interpolation footprint of the fine domain to make sure it's contained within the large domain.
    • extract_grids
      • needs to record a "filter" attribute for both topography and land mask.
      • when moving topography from large grid to small currently simply do interpolation. Revise to just ensure large scale (2D integral) matches.

  5. Re-work input so it's all read at once. The goal will be to minimize (or even eliminate) "cut-outs". Maybe even modularize the input to allow an upgrade to a graphic user interface (if one becomes available).

  6. Add flag for cyclic topography.
    • h(1,j) = h(imt-1,j)
    • h(imt,j) = h(2,j)

  7. Report the size of the smallest circle, centered at (lonc, latc), which contains the grid. This would be useful for setting rout in OA codes. Include it as an attribute in the netCDF file.

  8. Velocity grid step topography, kmu. Create this in grids, consistent with PE expectations. Maintain under extract_grids and masking.

  9. Plot titles:
    • The date doesn't need to be so large
    • Perhaps multiple lines: First user supplied, second automatic description.

  10. More documentation is needed:
    • User's guide:
      • Chapter 3: add warning on VMSmakefile.com
      • Create Appendix I: Horizontal Grid
        • Cartesian Grid
        • Rotated Spherical Grid
      • Create Appendix II: Vertical Discretization
        • notes on Hydrostatic Consistency Factor
        • dsigma optimization
      • Create Appendix III: Details of netCDF coastline & topography data files.
      • Create Appendix IV: GNUmakefile in all its gory detail.
      • Create Appendix V: NetCDF routines used -- function and I/O
      • Create Appendix VI: NCAR routines used -- function and I/O
    • Put user's guide information (in different form) in bottom of grids.in
    • Try to create a local.tex file to define the local site data.
    • Include bug report in chapter 1.

  11. On first creation of GRIDS file, create target topography from available filter parameters. Record filter parameters to target topography attributes.

  12. Vertical levels optimized for Hydrostatic Consistency.
    • Rework the vertical level optimizing routines to directly report the dsigma's as well as the sigma's.
    • The new results require C > 3/2. Check this at input.

  13. Put in a flag to enable grid selection only. No topography selections. This will make for faster initial grid definitions.

  14. Allow grids to read in land mask. Use to determine non-masked statistics, and to mask contours (and T-grid?). Set optimal selection of zc1 to use minimum active depth. Make first guess for land mask when extracting raw topography.

  15. Include a "no normal" topography manipulation routine.

  16. Look into creating a MATLAB type graphical front-end for grids.

  17. Write a routine to create variable grids.

  18. Separate the repeated local integral weighted median filter from the massage_topo routine. That is, write a stand alone routine to do the filtering and call this routine from massage_topo.

  19. Maybe work in routine to insert more levels to better represent the bottom topography.

    blasts from the past

  1. Put graph controls in separate data files.