planetwater

ground- water, geo- statistics, environmental- engineering, earth- science

Archive for 2007

Aquifers on Mars

without comments

National Geographic announces that there might be water on mars, because some vehicle found geologic structures that might have been formed by water.

Written by Claus

February 25th, 2007 at 1:53 pm

Posted in Uncategorized

Tagged with ,

Pharmaceuticals in Groundwater

without comments

This is not a new story, but it is a main article in the online edition of “Der Spiegel” today: The fact that pharmaceuticals, such as cough sirups, antibiotics, or pain killers are not totally taken up by the human body. The part that is not being taken up, usually ends at a wastewater treatment plant, and more often than usually can’t get treated there. So all these medical substances get released into the environment.

The article talks about the research group around Andrew Singer at the University of Oxford. He is a mathematical modeler, and wanted to know what would happen to “Tamiflu” – concentrations in british rivers. Tamiflu is supposed to treat people during an influence pandemic, which is when millions of Britons would use it.

Singer’s group showed that under such epidemic conditions, significant concentrations of Tamiflu would exist in rivers. There, lots (unimaginable many) of other life-forms would get into contact with Tamiflu, and the consequences can’t be imagined. As one consequence however it seems pretty certain that a few organisms that are believed to play a key role in transmitting influenza (the waterfowl) might develop a resistance against Tamiflu, and hence magnify the epidemic problem.

Written by Claus

February 11th, 2007 at 3:18 pm

Posted in Uncategorized

Tagged with ,

Mapping Water

without comments

Worldmapper.org has a few interesting maps. These maps show the size of a country relative to a quantity per country. Such a quantity can be “people without access to clean water” (see below, from “Der Spiegel”). You can try different things by searching for the term “water” on worldmapper.org.

People not having access to clean water

Written by Claus

February 8th, 2007 at 1:28 pm

Posted in Uncategorized

Tagged with ,

Fortran under OS X

without comments

At work, we have a lot of fortran codes. And some people still develop in fortran. Don’t ask me why… I totally love the python/TextMate combo… well, but I needed to wrap my head around the whole fortran issue. Mostly, people here use Compaq Visual Fortran on Windows XP machines. That is a decent setup. But I wanted to try some things on my mac. So I looked into options. Note: I am still a very user oriented person… I still haven’t gotten very deep into the computer systems…

Firstly, I realized, that one flavor of fortran, called GFortran (with Manuals) is part of the “GNU Compiler Collection” GCC. This is also a very useful site.

I got a little scared, because I thought I have to build gcc somehow myself, and I didn’t know what and how, but then I found the guys at macresearch.org. With a very straight forward 4-item cookbook-approach, I had xcode setup so I can edit, debug, and let fortran programs run. Here we go:

  1. Make sure you’ve got xcode (Apple Developer Tools) installed.
  2. Download an installation package from here. This package will install gfortran and the necessary xcode plugins.
  3. Follow these instructions. If you do this you will end up with an xcode project. In this xcode project a c-file will call a fortran file.
  4. If you want pure fortran, use these instructions.

With this setup I can copy my .f90 files from the MS-Compaq compiler to my mac, read them in xcode, and they compile just fine! ATTENTION: copy the entire .f90 files, no copy and pasting, especially not through email! That destroys the file-setup.

If somebody knows anything about how to couple TextMate to this setup — let me know!

[Update 20070210]: Re: File Endings

The file ending of the fortran file is important as to how xcode interprets the file for compilation. *.f leads to fixed form fortran77 type. *.f90 leads to free from fortran95 type. The file ending should be changed in xcode by right clicking on the file in the “source” area.

[Update 20070210_2]: Re: location of input files

Say the xcode project you’re working on is called “FileIO”, and is located at

/Users/username/Documents

Then an input file opened through the command

OPEN (UNIT = 3, FILE = filename, STATUS = 'OLD', ACTION = 'READ', & IOSTAT = status)

needs to be stored in

/Users/username/Documents/FileIO/build/Debug

Otherwise an IOSTAT = 2 error occurs.

[Update 20070211]: Re: debugging “jstingley’s” points on macresearch regarding debugging are very important

  1. In the project window, Groups & Files pane, select your target (open the Targets group) and then click the Info button in the toolbar.
  2. In the Target “myfprog” Info window select the Build tab.
  3. Select Configuration: Debug (pop-up).
  4. Select Collection: Language (pop-up under GCC Fortran source compiler).
  5. There’s only one setting: OTHER_FORTRANFLAGS.
  6. To the right in the Value column, double click and enter “-g” (w/o the quotes) and “return”.
  7. Close the Info window, rebuild (w/ Debug as the Active Build Configuration) and then run the debugger. You should now see the program pause at your breakpoints and the current module’s variables displayed.

    Make sure you select the Target Info and make these settings. It doesn’t seem to work if Project Info is selected and the -g option is added there.

Written by Claus

February 7th, 2007 at 9:59 am

Posted in

Tagged with

Climate

without comments

Der Spiegel, the Globe and Mail, and pretty much every other media is full of stories on the latest UNO report on climate change these days. However, as of today only a miniscule part of the entire planned publication is available today, the summary for policy makers (SPM), a 21 page long summary of the “Working Group I”. In total there are three working groups: 1) The Physical Science Basis, 2) Impacts, Adaption and Vulnerability, and 3) Mitigation of Climate Change

In this first part of the four volume long “Climate Change 2007” report describes progress in understanding of the human and natural drivers of climate change, observed climate change, climate processes and attribution, and estimates of projected future climate change. This first document pretty much says we know more since the last report, and we know with more certainty that human activity leads to a warmer atmosphere, higher sea levels, and more severe weather events. See the “Real Climate” Blog for a more in depth discussion of the SPM

Here is an argument, that I stole from Taha Ouarda relating to climate change. It illustrates the point with a nice example. The example has to do with hockey, hence I like it:

Last year, the [Montreal] Canadians got a new coach. After the new coach has been working with the team for a while, results got better, and now the team as a whole is playing better than before. Without a doubt the change of the coach lead to a different situation, that is a better hockey team. Then you might ask: Was Saku Koivu’s goal last night a direct result of that coach change?

The answer is no. Firstly, Saku Koivu is a pretty wicked hockey player, and he has always scored lots and nice goals. Secondly, it is not possible to trace one event to one change. Similarly, it is not possible to say if the current winter in Germany that is warmer than average is the direct result of high CO2 concentrations in the atmosphere. But we know, that higher CO2 concentrations in the atmosphere lead to warmer air.

Speaking of hockey, the picture in this blog entry shows the same “hockey stick curve” as the one Al Gore used in his movie “An Inconvenient Truth“.

Hockey Stick Curve in atmospheric gas concentrations over time

Well, and then there’s these guys…

Written by Claus

February 5th, 2007 at 6:37 pm

Posted in Uncategorized

Tagged with

Cool Wave

without comments

Water is cool!

Picture of a really cool wave

Written by Claus

February 4th, 2007 at 10:30 am

Posted in Uncategorized

Tagged with

Advances in Water Bottles

without comments

These guys make a water bottle that tells you when you’re thirsty. Oh wait… you know when you’re thirsty…

Written by Claus

February 2nd, 2007 at 1:22 pm

Posted in Uncategorized

Tagged with

War for Water?

without comments

The German news magazine “Der Spiegel” has an article today about how more and more people live on the earth, and how less and less have access to drinking water. The provocative title asks if that unequal distribution will be cause for future wars.

Read the rest of this entry »

Written by Claus

January 24th, 2007 at 8:20 am

Posted in Uncategorized

Tagged with , ,

Pull Water out of Air

without comments

These guys supposedly made a machine that pulls water out of air. They say it works like a salt shaker, but bigger and for more water.

Written by Claus

January 17th, 2007 at 8:33 am

Posted in Uncategorized

Tagged with

Times Food Critic Against Bottled Water

without comments

Finally! A relevant person when it come to taste, a food critic from The Times, London, is against bottled water

Written by Claus

January 15th, 2007 at 2:25 pm

Posted in Uncategorized

Tagged with