Log in

No account? Create an account
The Mad Schemes of Dr. Tectonic [entries|archive|friends|userinfo]

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

March 5th, 2007

Catching up: birthdays, memory, festivities, cupcakes [Mar. 5th, 2007|02:00 pm]
Sometimes a weekend's perspective is all it takes to fix broken code.

I'm working on regridding a bunch of land/ocean masks to a different spatial resolution. On Friday, the code took twenty minutes to run and produced some stripes that probably would have looked nice on a sweater, but were not helpful for analyzing climate change. Today, I looked at the same code, moved some short-circuiting if statements outside the relevant loops, deleted a stray statement that was clobbering the height calculation, and now it runs in 20 seconds and produces landmasses. (Now I just have to do special-case stuff for the poles and the prime meridian.)

What else have I been up to?Collapse )
Link3 comments|Leave a comment

[ viewing | March 5th, 2007 ]
[ go | Previous Day|Next Day ]