| Follow with RSS

Pine Island Glacier and Pine Island Bay

January 31st, 2012 | No Comments | By Ken Mankoff

Pine Island Glacier and Pine Island Bay

Pine Island Glacier and Pine Island Bay


Pine Island Bay in the southeast Amundsen Sea, Antarctica, on 16 Nov 2008. Upwelling, melt-laden outflow plumes emerge from beneath the adjacent Pine Island Glacier ice shelf (top center) and mix in the bay waters. Warm red colors show sea surface temperatures more than a degree warmer than the near-freezing dark blue color. Cyclonic circulation in the bay is framed by the ice shelf, land ice and sea ice, in gray-scale with the darker shades colder. Landsat Enhanced Thematic Mapper Plus image, thermal infrared (channel 6H), subset of scene #LE72331132008321EDC00.

@article{Mankoff:2012The-role,
	Title = {{The role of Pine Island Glacier ice shelf basal
                  channels in deep water upwelling, polynyas, and
                  ocean circulation in Pine Island Bay, Antarctica}},
	Author = {Kenneth D. Mankoff and Stanley S. Jacobs and
                  Slawek M. Tulaczyk and Sharon E. Stammerjohn},
	Journal = {Annals of Glaciology},
	Number = {60},
	Volume = {53},
	Year = {2012}}
Tags: , , , , , , , ,

Kinects as sensors in earth science: glaciological, geomorphological, and hydrological applications

December 16th, 2011 | 2 Comments | By Ken Mankoff

Last week I presented a poster at the 2011 AGU Fall Meeting. It has generated some press thanks to an article in Wired. If you are interested in the poster it is available by clicking on the image below.


AGU Poster: `Kinects as sensors in earth science: glaciological, geomorphological, and hydrological applications`

AGU Poster: `Kinects as sensors in earth science: glaciological, geomorphological, and hydrological applications`


@conference{Mankoff:2011Kinects,
  Author = {Kenneth D. Mankoff and Tess Alethea Russo and
            Benjamin Kenneth Norris and Saffia Hossainzadeh and
            Lucas H. Beem and Jacob I. Walter and
            Slawek M. Tulaczyk},
  Title = {{Kinects as sensors in earth science: glaciological,
            geomorphological, and hydrological applications}},
  Address = {San Francisco, CA},
  Booktitle = {American Geophysical Union, Fall Meeting},
  Month = {December 5 - 9,},
  Note = {Abstract \#C41D-0442.},
  Year = {2011}}
Tags: , , , ,

Kinect Go Kit for fieldwork

November 11th, 2011 | No Comments | By Ken Mankoff

Following up on my previous post about using the Kinect for earth science applications, I’m documenting the Kinect Go Kit I built for fieldwork.

Kinect Go Kit: Top Level

Kinect Go Kit: Top level

Kinect Pelican Go Kit Case

Kinect Go Kit Pelican Case

I travel with two Kinects, two power supplies, and two computers in case one gets damaged or destroyed in the field, although only one computer is in the kit.

The Netbook is a cheap $240 computer running Ubuntu and the libfreenect software stack at a minimum. I have also found it useful to have more advanced data collection software (ROS, RGBDemo, RGBDSLAM), and some analysis software (CloudCompare, points2grid, Viewpoints, etc.). This netbook works fine for raw data dumps from the libfreenect ‘record’ program. It can run the more computationally expensive scene stitching algorithms such as RGBDSLAM, but it takes about 10 seconds per stitch, while a more powerful laptop (but still a few years old) can do it at 0.5 to 1 Hz. Since ‘record’ collects about 1.5 GB of data per minute, it is good to have a lot of free space on the hard drive.

The plugs and cables are shown laid out below, and in addition, some velcro straps are stored in that compartment, used to attach the Kinect to the tripod arm.

The Pelican 1510 case supports two levels, and the lower level looks like this:

Kinect Go Kit: Bottom Layer

Kinect Go Kit: Bottom level

Battery #1 is a 12 V 5 Ah sealed led acid battery. It provides >5 hours of Kinect runtime, about equal to the runtime of the netbook.

Battery #2 is 8 AA batteries (12 V), and underneath is an 8 AA battery holder and a battery charger. If I need to turn the Kinect on for a short amount of time and want to travel lightly, these will do.

Kinect cable layouts

Kinect cable layouts

As shown above the cord to the Kinect can be cut and alligator clips or some other electrical termination can be attached. I often have wall power and have attached clips to the detached plug so I can use it as originally intended. However, when in the field, the clips can connect directly to the 12 V battery or the AA battery pack.

Kinect mounted on tripod

Kinect mounted on tripod

The Kinect Go Kit above is close to the minimum necessary for fieldwork. Things that I would like in it, but are not yet, include:

  • Tape measure
  • Liquid container (tupperwear) and opaque liquid (or additive) so that any scene can have a defined flat surface
  • Sling for under tripod to hold battery, netbook, protecting equipment and keeping it off the ground
  • Counter weight for tripod arm

Additional tools I have found handy to have with me in the field include, but are not limited to, the following:

  • External hard disk for backups
  • Zip-ties to complement the Velcro straps
  • Multimeter
  • Spare notebook, perhaps with a more powerful CPU, for scene stitching
  • Rope or other ‘image noise’ for scene stitching with RGBSLAM when working in environments that have ‘self similar’ scenes (no good tie points)
  • Mounting systems for long term deployment
  • Trashbags for environmental protection

 

Tags: , , , ,

Kinect for Earth Scientists

November 5th, 2011 | 1 Comment | By Ken Mankoff

We have successfully used a Kinect outdoors to study ablation on a glacier, map a subglacial cave in 3D, and tested it in a variety of hydrological situations (imaging roughness on the base of a stream, calibrating the Kinect data through water, and imaging surface waves). Results will be presented at the 2011 AGU conference.

There are a variety software interfaces to the Kinect. One high-level tool that is easy to use (binaries provided, no need to compile source, supports ‘scene painting’) is RGB-Demo. It is a good tool to start with if you want to work with the Kinect.

However, most Kinect software and calibrations so far have been developed by the robotics and computer vision communities. I am grateful for the work they have done, but those communities have different data needs than earth scientists. For example, quadrotor obstacle avoidance (link (PDF), link) has distance measurement errors that appear to be on order cm, but it still works fine as the helicopter avoids obstacles by an amount larger than the error.

Earth scientists should aim for a better model of the world than the one currently provided by the Kinect and its primary users. I suggest recording and storing the raw digital numbers (DN) from the Kinect rather than higher-level auto-calibrated real-world coordinates. It will require more post-processing, but storing the DNs will allow the data to be re-processed as better calibrations are developed. In addition, the low level recorder operates at 30 Hz and the higher level point-cloud products currently do not record data at that rate.

The best supported low-level interface is the LibFreenect Fakenect record program. It dumps the uncalibrated RGB and depth images to a folder at 30 Hz until you kill the process. Uncalibrated means both that the depth data is in sensor units, and that the depth and RGB images are not aligned. You can easily convert the depth data to real world x,y,z coordinates using existing published algorithms (link, link, link, and many others exist on the web), but importantly the raw data is stored and can be used with better calibrations in the future.

After processing the raw ‘record’ data, you can work with the point cloud data or DEMs using a variety of standard software for pointclouds, LiDAR, etc. I have had great success with CloudCompare and Poinst2Grid, in addition to custom code in MATLAB, IDL, and Python. A good list of software is available at the NSF OpenTopography site.

To work with the depth data to we initially use the following algorithms found on the various sites dedicated to Kinect hacking. The data provided by these algorithms is sufficient for certain uses, and for testing algorithms and visualizations, while better calibrations are performed.

DN to distance (source):

k1 = 1.1863d
k2 = 2842.5d
k3 = 0.1236d
Z = k3 * tan( double( DN ) / k2 + k1 )

XYZ to world (source):

Xres = 640
Yres = 480
FovH = 1.0144686707507438 (rad)
FovV = 0.78980943449644714 (rad)
XtoZ = tan( FovH / 2 ) * 2
YtoZ = tan( FovV / 2 ) * 2
X = ( X_pixel / Xres – 0.5 ) * Z * XtoZ
Y = ( 0.5 – Y_pixel / Yres ) * Z * YtoZ

Question or comments? Post below…

Tags: , , , ,

Kinect Video from Microsoft

October 31st, 2011 | No Comments | By Ken Mankoff

It has been almost one year since the Kinect was released, and there have been some amazing projects that use it. Microsoft appears to be embracing the hackers and highlights some of the non-video-game related uses in a new video:

Tags: , , ,

WISSARD Introduction

February 22nd, 2011 | No Comments | By Ken Mankoff

A video (and written) news segment on part of my PhD project:



Tags: , , , , , ,

It is Wet

November 21st, 2010 | 1 Comment | By Ken Mankoff

These are most enjoyable and relaxing if played in HD full screen. Inspiration for BUBBLES. More on that later.

Tags: ,

GLIMMER Ice Shelf Modeling (OS X HowTo)

May 14th, 2010 | 3 Comments | By Ken Mankoff

A new beta version of the Community Ice Sheet Model, Glimmer-CISM, has been released. Below are instructions to compile and run it on OS X.

# build NetCDF
export CFLAGS=-m32
export FFLAGS=-m32
./configure --prefix=/Users/mankoff/local/netcdf-4.1.1 \
          --disable-cxx --disable-curl  --disable-dap
make && make install
say netCDF done

# build GLIMMER
cd ~/local/src/
wget http://download.berlios.de/glimmer-cism/glimmer-1.7.0.tar.gz
tar zxvf glimmer-1.7.0.tar.gz
cd glimmer-1.7.0/

# OS X has issues with 32 and 64 bit libraries.
# The -m32 flag forces 32 bit compilation.
# The following should be one long line:
./configure --prefix=/Users/mankoff/local/glimmer-1.7.0 \
     --with-netcdf=/Users/mankoff/local/netcdf-4.0.1 \
     FC=gfortran F77=gfortran CFLAGS=-m32

make
make install
say GLIMMER done

There are a few ways to test the installation. The source folder provides a test folder:

export PATH=/Users/mankoff/local/glimmer-1.7.0/bin:$PATH
cd ~/local/src/glimmer-1.7.0/tests/shelf
python circular-shelf.py circular-shelf.PP.config
python confined-shelf.py confined-shelf.PP.config
say GLIMMER Test Done # Takes a while. Turn up your volume

Running the above command will result in NetCDF files being created in the output/ subdirectory. You can view the contents of example.nc with most any generic NetCDF viewer. While theses tests run over a given period of time, the output only has one time stored. If you want to see an evolution of the ice shelf, older test suites available from the previous code repository site should be used:

cd ~/tmp/
wget http://forge.nesc.ac.uk/download.php/200/glimmer-example-0.6.tar.gz
tar zxvf glimmer-example-0.6.tar.gz
cd glimmer-example-0.6/
~/local/glimmer-1.7.0/bin/glide_launch.py ./example.config
say done

Examine the output file example.nc to see ice sheet evolution over time. Basal melt is shown below:


Get the Flash Player to see this content.

@article{Rutt:2009,
  Author = {Ian C. Rutt and Nicholas R. J. Hulton and Antony J. Payne},
  Title = {{The Glimmer community ice sheet model}},
  Year = {2009}}
  Journal = {J. Geophys. Res.},
  Volume = {114},
  Number = {F2},
Tags: , , , , , ,

Pine Island Glacier Publication TimeMap

March 19th, 2010 | No Comments | By Ken Mankoff

In which I present a rough geo-spatial-temporal map of Pine Island Glacier (PIG) publications.

Geo-spatial-temporal time-map of Pine Island Glacier (PIG) publications

More »

Tags: , , , , , , ,

Building a Software/Hardware Environment for Research

March 15th, 2010 | 5 Comments | By Ken Mankoff

Sometimes I get asked what software/hardware systems I recommend for research. Below is my standard advice. I am a scientific programmer and student and my day-to-day tasks involve research, data analysis,  scientific programming, and writing. Data sets might include satellite images, model output, GPS, seismic, and a variety of other data. Data domains are ocean, atmosphere, and/or ice. I travel a lot, either from home to the office or to the field (which might mean months on a boat with no internet connection). Therefore I try to have a setup that supports high performance computing (HPC) on a laptop.

More »

Tags: , , ,