Opened 7 years ago

Closed 7 years ago

#744 closed upgrade (Done)

Added several colormaps and other Matlab scripts

Reported by: arango Owned by:
Priority: major Milestone: Release ROMS/TOMS 3.7
Component: Matlab Version: 3.7
Keywords: Cc:

Description

There are several new colormap functions that are now located in the new matlab/colormaps sub-directory:

https://www.myroms.org/trac/cmocean.png

  • cm_algae.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for phytoplankton (sequential).
  • cm_amp.m: A perceptually-uniform 256 colormap by Kristen Thyng (sequential).
  • cm_balance.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for sea surface height (diverging colors).
  • cm_curl.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for wind curl (diverging color).
  • cm_deep.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for bathymetry (sequential).
  • cm_delta.m: A perceptually-uniform 512 colormap by Kristen Thyng, it can be used for freshwater (diverging).
  • cm_dense.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for density (sequential).
  • cm_gray.m: A perceptually-uniform 256 colormap by Kristen Thyng (sequential).
  • cm_haline.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for salinity (sequential).
  • cm_ice.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for sea ice (sequential).
  • cm_matter.m: A perceptually-uniform 256 colormap by Kristen Thyng (sequential).
  • cm_oxy.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for oxygen concentration (sequential).
  • cm_phase.m: A perceptually-uniform 256 colormap by Kristen Thyng (constant lightness).
  • cm_solar.m: A perceptually-uniform 256 colormap by Kristen Thyng (sequential).
  • cm_speed.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for velocity magnitude (sequential).
  • cm_tempo.m: A perceptually-uniform 256 colormap by Kristen Thyng (sequential).
  • cm_thermal.m: A perceptually-uniform 256 color map by Kristen Thyng, it can be used for temperature (sequential).
  • cm_turbid.m: A perceptually-uniform 256 colormap by Kristen Thyng, it can be used for sediment (sequential).

The following functions were added for colormap processing:

  • cbarrow.m: Places triangle-shaped endmembers on both ends of the current colorbar by Chad A. Greene.
  • cmocean.m: Colormap package for oceanographic applications by Chad A. Greene.
  • colorspace.m: Transform a color image between color representations by Pascal Getreuer.

Other miscellaneous functions:

  • append_contact.m: Appends nesting contact points data to ROMS regular grid data. the resulting grid arrays are expanded to contain the data in the contact region.
  • ad_interpolator.m: Adjoint of intepolator.m, which spatially interpolates ROMS field to horizontal path/trajectory. It can be use to set-up functional in various adjoint-based algorithms, like adjoint sensitivities and observation impacts.
  • interpolator.m: Given any 2D or 3D ROMS variable FIELD, linearly interpolate to the requested path (Xpath, Ypath) in spherical or Cartesian coordinates. If input variable is 3D, the horizontally interpolated values are returned at all levels of the s-coordinate.
  • nc_dfixed.m: Creates a new NetCDF file with the requested record unlimited dimension changed to a fixed dimension.

Change History (1)

comment:1 by arango, 7 years ago

Resolution: Done
Status: newclosed
Note: See TracTickets for help on using tickets.