Personal tools
You are here: Home Members azubrow's Home ioapiTools Cheat Sheet
Document Actions

Cheat Sheet

by Alexis Zubrow last modified 2005-09-22 11:27

This following is a list of common functions and class methods.  It is not exhaustive, but acts as general reference.



1. ioapiTools functions

  • binAverager - averages over an axis, e.g. converts hourly data to daily average
  • concatenate - concatenates a series of variables
  • contour - make a contour or raster plot of variable
  • coordConv - converts between different coordinate systems
  • coordInDomain - tests if coordinate in spatial domain
  • createVariable - creates an iovar variable
  • datacombineMeta - combines metadata from a series of variables
  • dateInDomain - tests if date in temporal domain
  • dates2Cdtime - converts dates to cdtime object
  • dates2DateTime - converts dates to mx.DateTime objects
  • layerInDomain - tests if layer in vertical domain
  • ocontour - overlay a contour over another contour plot
  • ovector - overlay vector plot over another contour
  • open - opens a file for reading or writing, returns iofile
  • scan - scans through files for date range, returns iofilescan

  Table of Contents Contents


2. iofile methods

  • close - closes a file
  • extract - extracts a variable from a file
  • listvariables - list the variables in a file
  • write - writes a variable to a file

  Table of Contents Contents


3. iofilescan methods

  • close - closes a file
  • extract - extracts a variable from a file
  • listvariables - list the variables in a file

  Contents



4. iovar methods

  • contour - makes a contour or raster plot
  • getLatitude - returns latitude axis
  • getLongitude - returns longitude axis
  • getLevel - returns level or layer axis
  • getTime - returns time axis
  • getValue - converts iovar to Numeric array
  • ioM - iometa object, an attribute
  • IO2cdms - converts iovar to cdms variable
  • IOchangeDate - changes the start date of time axis
  • IOclone - makes a copy of the iovar object
  • IOcoordConv - coordinate converter
  • IOcoordInDomain - tests if point in spatial domain
  • IOdateInDomain - tests if date in temporal domain
  • IOequal - tests 2 variables for data equivalence
  • IOlayerInDomain - tests if layer in vertical domain
  • IOmodVar - modifies the variables metadata
  • IOsubset - subsets the variable
  • ocontour - overlays a contour plot over another contour

    Contents



5. iometa methods

  • copy - copies the iometa object
  • replVar - replaces the variable's metadata in iometa

    Contents



6. cdmsmeta methods

  • copy - copies the cdmsmeta object
  • getAxes - returns a list of the axes

    Contents


Powered by Plone