[MITgcm-devel] Pretty plots for cubed sphere

Alistair Adcroft alistair at adcroft.com
Fri May 6 13:36:57 EDT 2005


Inspired by Dimitris' movies, I checked in some scripts to do something 
similar:

 >> xg=rdmds('XG');
 >> yg=rdmds('YG');
 >> eta=rdmds('ETAN',Inf);
 >> etopo2cube
 >> fancycube(xg,yg,sq(eta),max(0,min(5000,H)),0.05/5000);axis off;
 >> [az,el]=view(-20,20)
 >> print -djpeg100 q.jpg

etopo2cube is a cheap hack to get etopo5 orography on the cubed sphere

It's straight forward to make movies from here on.

Anyone know of a decent data set for land color (rather than elevation)?

A.
-- 
Alistair Adcroft (alistair at adcroft.com, http://alistair.adcroft.com)
Owner/administrator for http://adcroft.com, E-services for Adcroft's
-------------- next part --------------
A non-text attachment was scrubbed...
Name: q.jpg
Type: image/jpeg
Size: 232689 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20050506/88a4d264/attachment.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: etopo2cube.m
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20050506/88a4d264/attachment.el>


More information about the MITgcm-devel mailing list