Opened 12 years ago
Closed 12 years ago
#534 closed upgrade (Done)
Added matlab scripts for grid refinement
Reported by: | arango | Owned by: | arango |
---|---|---|---|
Priority: | major | Milestone: | Matlab Processing Scripts |
Component: | Matlab | Version: | 3.6 |
Keywords: | Cc: |
Description
Added two new scripts for generating refinement grids:
- grid/grid_metrics.m: Computes ROMS Grid horizontal metrics pm, pn, dndx, dmde from Cartesian or Spherical coordinates.
- grid/grid_refine.m: Given a coarse resolution ROMS Grid NetCDF, this function creates a finer resolution file in the region specified by the coarser grid coordinates (Imin,Jmin) and (Imax,Jmax) and refinement grid factor.
I expect grid_refine.m to evolve in the future.
I also corrected nc_write.m, updated recently, to write scalar data. I erroneously include the arguments start and count to the MEXNC interface. These are no needed when writing scalar data.
Note:
See TracTickets
for help on using tickets.