Personal tools
You are here: Home CDAT Tips and Tricks Index of CDAT Programing Tips and Tricks
Document Actions

Index of CDAT Programing Tips and Tricks

by Renata McCoy last modified 2007-05-04 17:24
TOC:

CDAT Installation Tips
Setting proper environment.
Downloading the source -- Download and Install Documentation
Express Installation -- Download and Install Documentation
In Depth Installation -- Download and Install Documentation
Known installtion problems -- Download and Install Documentation

Python Tips
How to run the code.
How to exit python.
Indentation and blank spacing is a key !!!!
Variables and arithmetic expressions.
Loops in python.
Conditional starements.
File input and output.
Python lists and tuples - what is it?
Python type dictionary.
Functions.
Modules.
Module inquiries.
Autocompletion from the command line.  Check this!  
Passing arguments to a python script.  Advanced level.
Automatic loading of a module or commands at startup.   
Object tips and quering objects (doc). Advanced.
Online tutorials and getting help.
VCDAT (CDAT GUI interface) Tips 
Getting Started with VCDAT - Getting Started Tutorials
CDAT scripting Tips
Variable types in CDAT.
Creting a variable from scratch, part I - Tutorials
Creting a variable from scratch, part II - Tutorials

Time Tips
Time axis in CDAT.
Getting time axis range from a NetCDF file.
Relative versus component (calendar) time.
Extracting time slice of a data.
Time types and cdtime module -- CDMS 4.0 Manual.
Creating time axis -- Tutorials.

File Reading/Writing Tips
File Variable type in CDAT.
The data file types that CDAT can read.
Opening a file.
Opening a dataset (multiple files).
Inquiries into a file - leaning about variables and their dimensions.
Simple geting data from a file.
Getting data with specific time bounds.
Extracting data at a specific latitude/longitude, say 50N, 120W.
Extracting data at latitude/longitude point, reducing spurious dimentions.
Other keywords to data retrieval.
Getting data - and the mysterious "third argument" explanation. 
Reading ASCII data.
Reading binary data.
Writing data in CDAT.
Printing to an ASCII file.
Concatenating NetCDF files .
Virtually concatenating NetCDF files.
Saving an image in CDAT.
Looping through files -- Getting Started Tutorials

CDAT Gotchas
Single-precision arithmetic.
CDMS unlimited file axis.

General CDAT Programing Tips

2D Plot Tips 
Changing axis annotation.
Plotting Basics -- Getting Started Tutorials.

3D Plot Tips

Plot Position Tips

EzTemplate Package for multiple plots on one page -- Tutorials
Scale and Move functions for templates -- advanced Tech Tips in Newsletter, bottom of the column

Plot Color and Colormap Tips
Converting Ferret Colormaps
Colors in VCS

Adding Text and Primitive Plotting Tips
Plotting Primitives -- from Getting Started Tutorials

Animation Tips
Animation and MPEG conversion.

CDAT Templates Tips
Picture template object - VCS tips.
All Templates description.
Creating and Modifying Templates - Plotting Basisc tTutorial.
VCS template layout tips in CDAT Newsletter
Scaling and moving tempates

Math Tips
Difference Between Numeric, MA, and MV  -- Getting Started Tutorial.
Averaging over multiple files -- Getting Started Tutorials.
Statistical Functions in Genutil -- CDAT Utilities v3.3 Manual.
Spatial and Temporal Averaging -- CDAT Utilities v3.3 Manual.
Arrays, Variables, Axes and Missing Values  -- CDAT Training.
Calculating Seasonal Means (like DJFM)
Why do I get 11 DJF means from a 10 year dataset?
Units conversion with genutil.udunits

Map Projection Tips
Map projections in VCDAT -- Getting Started with VCDAT Tutorial

VCS tips  
What is VCS.
VCS's primary objects.
Graphics method objects.
Picture template object.
Data objects.
VCS's secondary objects.
Plotting in VCS.
Plotting  keywords arguments  in VCS.
Saving VCS object in a script file.
VCS Quick Reference Guide -- Quick Reference Documents
CDMS tips
CDMS Quick Reference Guide --Quick Reference Documents
CDMS v4.0 -- Manuals
Opening files and reading data -- CDMS Basics Tutorial
Quering files and variables -- CDMS Basics Tutorial
Creating time axis -- CDMS Basics Tutorials.

CDUTILS tips

CDAT Utilities v3.3 -- Manuals
Pressure Reconstruction and Interpolation Techniques

Miscellaneous Tips
GUI programing in Python (with CDAT)

Tutorials
Manuals
Code Documentation

Getting Help Tips

Start with CDAT GUI Interface tutorial  --  VCDAT Getting Started
Next try CDAT basic scripting -- CDAT Getting Started
Follow with more Getting Started CDAT Scripting Tutorials
Read Manuals
See Quick References
Check  Advanced Tutorials
Browse through CDAT Discussion List Archive
    Subscribe to cdat-discussion list










Powered by Plone