How to Loop Model Outputs


  • Bash
  • Example: demo to loop all model outputs with given start and end time
  • Compute Temporal Average of Model Output


  • CDFTOOLS: cdfmoy
  • Example 1: monthly average over specified continuous years, e.g., all Januaries over 1958--1960
  • Example 2: annual average
  • Example 3: annual average (a complicate case with different timetags in each year's model output)
  • Compute Vertical Average of Model Output


  • CDFTOOLS: cdfvertmean
  • Example 1: vertical average of the temporal averaged field (it computes the multi-year average first in the script)
  • Example 2: /mnt/storage0/xhu/nemo_plot/ANHA/computeSAVEBatch.sh
  • Example 3: /mnt/storage0/xhu/nemo_plot/ANHA/computeVelBatch.sh
  • 2D Temperature or Salinity Map


  • MATLAB
  • showANHA2TS.m (if any function is missing, please check out: /mnt/storage1/xhu/PROGRAM/matlab)
  • figure example:
  • ANHA2 0-200m averaged ocean salinity

  • show 2d mixed layer depth: /mnt/storage0/xhu/nemo_plot/ANHA/showMLDBatch.m
  • show 2d salinity: /mnt/storage0/xhu/nemo_plot/ANHA/showSALBatch.m
  • show 2d salinity difference: /mnt/storage0/xhu/nemo_plot/ANHA/showSALDiffBatch.m
  • show 2d ocean speed: /mnt/storage0/xhu/nemo_plot/ANHA/showSpeedBatch.m
  • show 2d ocean: /mnt/storage2/xhu/HOME_hittite/ANHA4/showOceanBatchFaster.m
  • 2D Ocean Vector Map


  • MATLAB
  • showANHA2Current.m (if any function is missing, please check out: /mnt/storage0/xhu/PROGRAM/matlab)
  • figure example:
  • ANHA2 200-1000m averaged ocean circulation

    2D Sea Ice Map


  • MATLAB
  • showANHA2IceMap.m coded for the seasonal ice files here (if any function is missing, please check out: /mnt/storage0/xhu/PROGRAM/matlab)
  • figure example:
  • Ice thickness anomaly with Positive DA forcing

  • Example 2: /mnt/storage0/xhu/nemo_plot/ANHA/showIceBatch.m
  • Example 3: /mnt/storage2/xhu/HOME_hittite/ANHA4/showIceBatchFaster.m
  • m_map Toolbox Example


  • MATLAB
  • show the map of Labrador Sea
  • figure example:
  • Labrador Sea Map

  • script: /mnt/storage0/xhu/nemo_plot/ANHA/mmap_example.m
  • show time series in matlab


  • MATLAB
  • showTimeSeriesExample
  • figure example:
  • my faked time series