Back to home page

MITgcm

 
 

    


Warning, /utils/matlab/cs_grid/latloncap/README is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit 100baf82 on 2013-09-10 13:59:28 UTC
6a75a3b8ef Chri*0001 Example matlab scripts for plotting from gmt netcdf output.
                0002 Scripts use stuff from utils/matlab/gmt and utils/matlab in
                0003 the MITgcm CVS tree - so that needs to be in your search path
                0004 e.g. addpath ${mitgcm_rootdir}/utils/matlab/gmt.
                0005 Many of the functions work with the structure from rdnctiles, so
                0006 that is used in the example to load the data.
                0007 
                0008 Example driver is plot_llc.m. Running that calls the other scripts
                0009 
                0010 calcFacetAngles.m  :: Calculate rotation angles to project to 
                0011                    :: XG, YG coordinate system.
                0012 
                0013 croptiled.m        :: Crop data to remove values for fields 
                0014                    :: read in by rdnctiles
                0015 
                0016 llc_pcol.m         :: Do a colormap of something read in by
                0017                    :: rdnctiles
                0018 
                0019 llc_vec.m          :: Do a vector plot of something read in
                0020                    :: by rdnctiles
                0021 
100baf824b Dimi*0022 plot_compact_mdsio.m
                0023                    :: Read global or tiled mdsio lat-lon-cap output and 
                0024                    :: do simple global plot (Arctic duplicated 4 times)
                0025 
6a75a3b8ef Chri*0026 plot_llc.m         :: Example driver for plotting 72 tile lat-lon cap
                0027                    :: output. This is mostly general except
                0028                    :: for directory locations and the removal of tiles
                0029                    :: 69-72 which are junk for this specific configuration.
                0030                    :: Example script produces both color scale and vector
                0031                    :: plots.
                0032                    :: It requires mnc generated grid files and 
                0033                    :: mnc generated time average files. 
                0034                    :: Example grid files can be found at
                0035                    :: wget http://mitgcm.org/mitgcm_repo/MITgcm_contrib/cnh_cs_plot/plot_llc_datasets/llc_grid_72tiles/v20070507/'grid.t001.nc'
                0036                    :: Example mnc time average files can be found at
                0037                    :: wget http://mitgcm.org/mitgcm_repo/MITgcm_contrib/cnh_cs_plot/plot_llc_datasets/llc_48month/v20070507/'tave.0000000001.t001.nc'
                0038 
100baf824b Dimi*0039 quikpcolor         :: faster replacement for pcolor using image
                0040                    :: when used with homogeneous grid spacing, it is also more
                0041                    :: accurate as it plots one facet per grid cell, as opposed
                0042                    :: to interpolating between cell corners as does pcolor
                0043 
                0044 quikplot           :: quick and dirty llc plotting routine
                0045                    :: usage example for llc270 domain:
                0046                    :: fld=quikread_llc('Depth.data',270);
                0047                    :: quikplot_llc(fld)
                0048 
                0049 quikread           :: quick and dirty llc read routine
                0050 
6a75a3b8ef Chri*0051 vel2latlon.m       :: Rotate vectors according pre-calculated angles
                0052                    :: ( from calcFacetAngles ).
                0053 
                0054 zmean.m            :: Calculate a vertical integral divided by depth
                0055                    :: for a field and depths read in by rdnctiles.