Monthly Archives: December 2008

Logging temperature of your GPU

This script (using BASH and AWK) allows to log the core temperature of NVIDIA’s GPUs. #!/bin/bash count=0 sum=0 oldt=0 while true do val=`nvidia-settings -q [gpu:0]/GPUCoreTemp | grep “Attribute” | sed -e “s/.*: //g” -e “s/\.//g”` t=`date +%s` if [ “$oldt”

Posted in computer, programming

Making a quick topography-like plot with gnuplot

GMT is nice for making topography plots, but always needs gridded data. This can be quite nasty. If you just need a quick-and-dirty workaround, I recommend to use gnuplot. Assume you have a text file with the irregular ground points

Posted in Uncategorized

How to convert and combine SRTM data with GMT

Since I had to do this task quite often, I summarize the necessary steps. First get the data (in this case for the Eurasian block) from ftp://e0srp01u.ecs.nasa.gov/srtm/version2/SRTM3/Eurasia/ E.g. I downloaded the area between N43-45/E141-144. Thereafter unzip and convert with GMT

Posted in computer
Archives
Categories