03.30.2008 20:03

Joint Stike Fighter coding guide for C++

DDJ has an An Interview with Bjarne Stroustrup on C++. In it he talks about C++ being on the Mars Exploration Rovers in MWM's code that I helped a little bit with back in 1998/99. Cool! He also talks about coding guides and references the Joint Strike Fighter coding guide for C++:

JSF-AV-rules.pdf

I like this one:
AV Rule 127
Code that is not used (commented out) shall be deleted. 
Rationale: No dead code is allowed. 
Exception: Code that is simply part of an explanation may
appear in comments.

Posted by Kurt | Permalink

03.28.2008 07:17

More snow

The picture says it all. It's snowing again with 3-8 inches predicted. We already had a 112 inches this year. My lot was almost ice free. At least the new coffee pot is working.

And I was just noticing some of the bulbs had pushed through to the surface.


Posted by Kurt | Permalink

03.27.2008 10:17

AIS AtoN Stations

A new IEC document is out today:

IEC 62320-2:2008(E)
Maritime navigation and radiocommunication equipment and systems -
Automatic identification system (AIS) - Part 2: AIS AtoN Stations -
Operational and performance requirements, methods of testing and
required test results
.
IEC 62320-2:2008(E) specifies the operational and performance
requirements, methods of testing and required test results for AIS
AtoN Stations compatible with the performance standards adopted by IMO
Res. MSC.74(69), annex 3, Universal AIS. Incorporates the technical
characteristics of non-shipborne AIS AtoN equipment, included in the
relevant ITU-R and IALA Recommendations. Also takes into account the
ITU Radio Regulations, where applicable.

Posted by Kurt | Permalink

03.26.2008 20:17

St. Lawrence Island Formerly Used Defense Sites (FUDS) cleanup report

The ACOE was kind enough to send us a copy of the FUDS cleanup report. The report covers cleanup on land, but it has information that is helpful for planning incident response in the future should there be something that happens on the shores of the island. The report weighs in at a hefty 2093 pages. In the report, there is an extensive paper trail for the disposal of the material removed from the island.

U.S. Army Corps of Engineers, Alaska District
White Alice Tram and Debris Removal
Northeast Cape, St. Lawrence Island, Alaska
Contract No. W911KB-04-C-0019
FUDS Property No. F10AK096901
F10AK096901_07.08_0001_a.pdf and
F10AK096903_07.08_0001_a.pdf
REMOVAL ACTION REPORT
FINAL
September 2006


From the executive summary.
    The scope of cleanup work for the 2005 season included:
  • Preparing planning documents and reports;
  • Mobilizing and demobilizing;
  • Providing and improving access to the work sites;
  • Removing tram towers and associated cables and wires;
  • Conducting surveying, sampling, and analysis;
  • Removing drums and miscellaneous items and debris;
  • Removing contaminated soil and concrete;
  • Removing a water collector and water line;
  • Removing former power and communications poles and wires; and
  • Reseeding disturbed areas.
As a geologist, it is great to see that they have a section on the site geology.
St. Lawrence Island consists of isolated bedrock highlands of igneous
and older sedimentary rocks, surrounded by unconsolidated surficial
deposits, overlying a relatively shallow erosional bedrock surface. In
the immediate vicinity of the lower mountain area, shallow
unconsolidated surficial materials overlie quartz monzonitic rocks of
the Kinipaghulghat Pluton. The pluton forms the mountainous work area
south of the AFS Ops Area, including Kangukhsam Mountain. The
Suqitughneq River drainage at the work area in the Kinipaghulghat
Pluton has created an erosional valley and alluvial fan of
unconsolidated sediments. Granitic bedrock materials are exposed at
the coast, north of the site at Kitnagak Bay, suggesting that quartz
monzonitic bedrock underlies the unconsolidated materials at a
relatively shallow depth on a wave-cut erosional platform.
...


After unloading the cleanup equipment via the beach:



The site map for the former base:


Posted by Kurt | Permalink

03.25.2008 09:52

SBNMS cruise

Yesterday was my first day in the SBNMS and my first time on the NOAA vessel R/V Auk. It was a great day to be at sea!

Here is the R/V Auk at is was heading back to its berth at the end of the day.



Here is the bridge:



Mike and I setup AIS logging with a second small whip antenna.



Logging was done with an SR162-G with a mac laptop sitting in the corner. This is okay for a one off, but I am definitely doing logging from inside next time.



Among the many tasks of the day, we did a visual inspection of auto-buoy 4 (aka AB-4). This is one of the buoys that detects right whale calls and sends them back to Cornell.



In this image, Highland Light is just visible next to the FAA radar dome.



And we saw other vessels out and about.


Posted by Kurt | Permalink

03.20.2008 14:46

GeoGarage NOAA charts

loic just sent me a link to the NOAA BSB Raster Nautical Charts all online through GeoGarage

You can even pass around a URL with a location: St Lawrence Island


Posted by Kurt | Permalink

03.20.2008 12:14

Michelle's blog - Portsmouth Harbour Project

Michelle has a great blog about work on her thesis. I had the wrong address for where she has been adding articles.

Portsmouth Harbour Project "a.k.a. last semester of Michelle's masters thesis"


Posted by Kurt | Permalink

03.20.2008 10:48

St Lawrence Island chart and incident map

Here is the Google Earth location file for the group that I participated in.

sli-ArcticResponseGroupE.kmz

The map shows the incident vessel in red. Green shows the 115 nm route from Noam to the site.xs



The nautical chart issue came up today.



Brian C. pointed out that I should look at the source diagram. I should have thought about that myself. The island is in B3, which is "1940-1969." I am guessing that the chart is probably in the 1950's along with the installation of a White Alice on the island at Northeast Cape in 1958. See List of White Alice Communication System sites [wikipedia]


Posted by Kurt | Permalink

03.20.2008 09:15

Photos of the Alaska Coastline

There is a Fly Alaska site that has an ArcIMS interface to flown photos. Not as easy to use as California Coastline, but still great.

There are a ton of layers. I tried looking at Kodiak.



Thy've got the standard legends, but I've got too many things overwriting each other.



I managed to get images to show through clicking on the animation tool, but I don't know how to click on a location and get the images.


Posted by Kurt | Permalink

03.20.2008 07:45

L-3 Klein Side Scan seminar

Side Scan Sonar Operations and Maintenance Seminar [hydro-international]
L-3 Klein Associates announce a Side Scan Sonar Operations and
Maintenance Training Seminar from 29 April to 1 May 2008. The three
day seminar will be conducted at L-3 Klein's Facility in Salem (NH,
USA). The training will include 2 days of classroom instruction and 1
day of on the water training; lunch will be provided daily.
...
I didn't see any pricing information and I don't see this on the Klein web page.

Posted by Kurt | Permalink

03.20.2008 06:14

Portsmouth Naval Shipyard sonar testing facility

Shipyard building new test facility
KITTERY, Maine - The Portsmouth Naval Shipyard broke ground Wednesday
on a $7.4 million sonar microphone testing facility that the Navy
didn't request.
.
Shipyard officials were joined by Kittery Town Manager Jonathan Carter
for the ceremony preceding construction of the Transducer Test and
Calibration Facility. Also in attendance were representatives of
members of the Maine and New Hampshire congressional delegations, who
raised all the money through congressional earmarks.
.
"The Transducer Test and Calibration Facility project was a MILCON
(military construction) project inserted into the Navy's MILCON
program by a congressional add-on," shipyard spokeswoman Deborah White
confirmed.
...

Posted by Kurt | Permalink

03.19.2008 09:12

AMVER vessel position reports

Somehow, I have have not blogged about AMVER before.
Amver, sponsored by the United States Coast Guard, is a unique,
computer-based, and voluntary global ship reporting system used
worldwide by search and rescue authorities to arrange for assistance
to persons in distress at sea.With Amver, rescue coordinators can
identify participating ships in the area of distress and divert the
best-suited ship or ships to respond.
.
Amver's mission is to quickly provide search and rescue authorities,
on demand, accurate information on the positions and characteristics
of vessels near a reported distress.
...
This report should be sent within 24 hours of departing port and at
least once every 48 hours thereafter. The destination should be
included (at least in the first few reports) in case Amver has not
received the Sailing Plan information. Position Reports require A, B,
C, E, F, and Z lines. The I line is strongly recommended. The M, X,
and Y lines are optional. (The Y line is required for U.S. vessels.)

Posted by Kurt | Permalink

03.19.2008 08:55

Ice Coverage

To go along with yesterday's images for the St. Lawrence Island, here is the ice coverage from http://ak.aoos.org/whats_new.html


Posted by Kurt | Permalink

03.18.2008 21:05

Windows XP slipstreaming

Having been away from Windows for a long time, the term slipstreaming is a new one to me. Slipstreaming Windows XP with Service Pack 2 (SP2) [winsupersite]
...
But what, exactly, is slipstreaming, you ask? Back when Microsoft was
developing Windows 2000, the company decided to create up a more
elegant way of integrating service packs and other fixes back into the
core OS, so that enterprise customers could always maintain an install
set of the latest version of Windows, ready to be installed at any
time on new machines.
...
For end users, slipstreaming can also be useful. For example, you can
copy the installation directory from your XP CD-ROM to the hard drive,
slipstream the XP SP2 files into that installation directory, and than
write it back to a recordable CD, giving you a bootable copy of the XP
setup disk that includes SP2 right out of the box (so to
speak). That's the process we're going to examine here. And
slipstreaming isn't limited to service packs, either: You can also
slipstream in various product updates, including hot-fixes. Previous
to the release of SP2, I created a bootable XP CD that included the
original "gold" version of XP, Service Pack 1a, and the Security
Rollup 1 update, all meshed together into a single install. Now, I've
tossed that CD aside for one that includes XP SP2 instead.
...
When I talked to Brian C. today about how I'd like to have a cloned mediawiki to go to sea with, he mentioned including apache2, mediawiki, and a copy of the db all go into a dvd when the windows installed is slipstreamed. Sounds good to me. Now I need to get back to adding content to our intranet wiki.

Posted by Kurt | Permalink

03.18.2008 13:21

Arctic Response - St Lawrence Island

For the arctic reponsonse workshop, my group is looking at what if something happened at St. Lawrence Island, Alaska.

Wikipedia has a quick summary of the island: St. Lawrence Island

First, where is it? It's 115 nm SW of Noam Alaska. Google Earth is a way to get a quick look.



The site is on North Cape. This is the sight on an old Air Force base that is crumbling. On this old topo map, the site is near the Lietnik Landing Area.

txu-pclmaps-topo-us-saint_lawrence-1970.jpg [utexas.edu]



Here is what the military site looks like. Image:White_Alice_site_St_Lawrence_Island.jpg [wikimedia]



On the RNC, the parabolic dish is the marker for that base. The Raster Nautical Chart (RNC) has much more info than the Electronic Navigation Chart. Of note, NOAA ORR has yet to complete the shoreline sensitivity mapping.



I tried looking for multibeam data. I only found single beam tracks with GeoMapApp.



Where are the nearest NOAA survey vessels? NOAA has a shiptracker



Dale C. pointed me to the most recent location of the USCG Ice Breaker Healy: NEPP location [sailwx]


Posted by Kurt | Permalink

03.18.2008 08:16

Arctic response workshop

For the next three days, I am at a workshop: Opening the Arctic Seas: Envisioning Disaster & Framing Solutions


Posted by Kurt | Permalink

03.18.2008 06:24

Capt. Joe sinks but AIS assists with the rescue

AIS was initially designed for Safety Of Life At Sea (SOLAS) use of AIS... here is a nice use of AIS towards that goal, which was not initially intended.

Capt. Joe crew rescued, AIS helped
...
According to APP.com, "The fishermen had an 'automated identification
system transponder' aboard their boat. While that transponder system
sunk with the Captain Joe, the signals it gave out before the vessel
went down helped the rescue crews find the boat's last position."
...
Just last week I learned that Class B AIS isn't even on the FCC's
March 19 agenda, meaning that this Capt. Joe type rescue aid remains
unavailable for most boaters. (However, I also heard that at least one
commissioner has already signed the ruling-a meeting isn't even
necessary-so maybe this FCC travesty will actually end soon.)
...


The Seas Were Angry [uscg cgjournal]
On the night of March 12th, we were coming back from a routine hoist
training session with small boat station Indian River, Del. when we
got the call to refuel at Air Station Atlantic City and proceed to
search for a possible life raft with 4 people on board near Manasquan
Inlet, N.J.
...


I wonder how the Orbcomm AIS receive satellite will do? Would be great to have LEO satellite coverage for the Arctic and middle of the oceans sometime in the distant future.

Posted by Kurt | Permalink

03.17.2008 19:50

Another lighthouse visit

Today, three of us went out to Cape Cod to check out the Hightland Lighthouse. This is a really pretty location, but a heck of a drive for me.



I went out this door onto the lower cat walk. Whew! I am definitely not interested in going up on the top catwalk.



We ran some tests in the room below the light and received 0 AIS messages.

$GPRMC,141009.00,A,4202.3469,N,07003.7240,W,0.00,0.0,170308,15.4,W,A*3C,rmahghlndlght,1205763008.81


One great feature of this site is that it can directly see the cell tower by the town safety building. Line-of-sight gives a strong EVDO signal.



I had a chance to meet the crew over at the FAA radar too. Nice folks and a very pretty location.



Here is a shot across the old Air Force base that is in the process of being reworked as an art facility. I very nice (but cold and windy) place for a walk out to the bluff.



I got my first chance to get into P-Town. Note: I did not fiddle with the water colors. I didn't make it too far before the wind blown sand blasted me and I retreated to the car.



Thanks to all who participated for a great trip.

Posted by Kurt | Permalink

03.14.2008 14:00

A new blog by a CCOM person - Sediment Mobility

Janice was kind enough to point me to her new blog about her thesis work:

Sediment Mobility in Portsmouth Harbor, a.k.a. progress of janice's M.S. thesis

http://phseds.wordpress.com/

Make sure to check out the About and Project Overview tabs.

The RSS Feed

Go Janice!


Posted by Kurt | Permalink

03.14.2008 13:15

pypi entry for noaadata fixed

Thanks to Joe Healy for pointing out that I really messed up the URLs for noaadata in the setup.py. The new setup.py will come out with 0.37 sometime in the next couple weeks, but the enty on pypi is now correct:

For the specific version: noaadata-py/0.36

General noaadata entry: noaadata-py

Posted by Kurt | Permalink

03.13.2008 17:15

Mac OSX 10.4 and newer has access control lists (ACL)

Back when my home account lived on AFS, I lived by ACLs for group projects and drop boxes. I am very excited to see that we now have ACL's on the Mac. Solaris got ACL's at some point and I ran into ACLs while working on the Mars Exploration Rovers with the NASA Ames' Collaborative Information Portal (CIP; [PDF]) team. ACLs let me dig deep into the engineering flight systems to pull time critical data without fear of accidentally doing anything to the files.

Grokking Darwin ACLs [AFP548] or
% man fsaclctl
% man chmod

Posted by Kurt | Permalink

03.13.2008 10:51

ESRI ArcGIS 9.3 Beta

ESRI Releases ArcGIS 9.3 Beta
It's now official, ESRI has released ArcGIS 9.3 beta to participants
in the beta program. We have been actively working with the ESRI
development teams on testing ArcGIS 9.3 and this has been great. We
already have done some pretty cool stuff and submitted some great
feedback. ESRI is really looking forward to beta testers feeding back
bugs and other comments on the latest release.
...
I was hoping to test out the PostgreSQL/PostGIS integration, but have not heard back from my ESRI POC.

Posted by Kurt | Permalink

03.12.2008 19:23

UNH GreenHouse Open House March 29th

Last year, a bunch of us headed over the to UNH Greenhouses for this event. It's free and fun after a long winter.

Spring? Bring it on! [UNH Extension] - March 29th 9-4.

Last year:


Posted by Kurt | Permalink

03.12.2008 19:12

Talk for the local Order of the Arrow Lodge

Last night I had fun giving a talk to the local Boy Scouts Order of the Arrow lodge. They were a great audience. I talked about what it is like to have a career in "ocean mapping."



The problem talking about ocean mapping is that each person has their own set of experiences. For example, after the first time I demobbed a team, I was really nervous about the next time. Then it turned out that "Lil' Toot" came out of the Santa Barbara harbor for crew change. Lots different than a night tug transfer in swells.


Posted by Kurt | Permalink

03.12.2008 16:36

Eastern Point Light visit

Today, a couple of us made a visit to Eastern Point Light out at the end of Cape Ann. This is a really nice location. It was rainy and windy, but on a nice summer day, the would be a place to hang out.

The building:



We did a quick mounting of a standard marine AIS antenna to see what it might look like.



We then setup an SR162g to see what we could get in a few minutes of logging.



I managed to get a bunch of data logged for analysis.



Images are courtesy Mike Thompson.

Posted by Kurt | Permalink

03.11.2008 09:58

Army's Future Combat System (FCS)

Wired: Army's $200 Billion Reboot Fizzles; Murtha Wants $20 Billion More
The Army's gargantuan digital modernization plan has turned so rotten,
a new congressional report says it's time to start thinking about
killing off the effort, and looking for new alternatives. Rep. John
Murtha (D-Pennsylvania), the powerful head of the House Appropriations
defense subcommittee, has another plan: Pump another $20 billion into
the sickly, $200 billion behemoth "Future Combat Systems" before it
drops dead under its own weight.
...
Image from the US Army: FCS Network


Posted by Kurt | Permalink

03.11.2008 09:09

Boston Logan Airport Monitor

I ran into this by accident:

Boston Logan Airport has a Airport Monitor program.

Airport Monitor display


Posted by Kurt | Permalink

03.10.2008 18:45

When everyone is running the other direction, maybe you should too

I'm just going through some of the old cruise photos I have on my computer. I ran into this one from 24-Dec-2002.

This one penguin decided to gawk at the RVIB Palmer as it came steaming towards their little junk of ice. Just what was this lone penguin thinking as a huge orange thing crashed into its berg?


Posted by Kurt | Permalink

03.10.2008 13:33

Coastal Explorer for make a cruise plan

I just went through the process of using Coastal Explorer to create a cruise plan. I used the demo version, so I could only add 10 way points, but it is still enough for a really simple day trip.

Getting Coastal Explorer installed with the charts was easy. I downloaded the zip of all NOAA vector ENC files to my mac. (Google NOAA ENC). I used wget to pull down the zip as it seems to get corrupted when downloaded in firefox. Why? I unzipped the whole lot and copied some of these to "D:\ENC ROOT". I could not drag the whole lot from the Mac Desktop to D: as Windows kept complaining about running out of disk space on C:.



I used the mouse scroll wheel to add waypoints after clicking on "Add Route" on the tools bars. I also used "Add Mark" to place the lime green circles for a key lighthouse.



I can't figure out how to keep that Mark visible when zoomed out, but I am able to see the whole route and see that I have a 5 hour trip planned.



Then I exported it to Google Earth. That was easy!



I also did a save as a NavObject file to see what that looks like. Nice! It is is a fairly easy to cope with XML format. I stripped it down somewhat, but this still gives the feel.
<?xml version="1.0"?>
<NavObjectCollection created="20080310T135105Z">
	<Name>Navigation Objects</Name>
	<Visible>true</Visible>
	<ViewSettings created="20080310T151905Z">
		<Position>42.279836 N 70.713761 W</Position>
		<Scale>250000</Scale>
		<Quilting>true</Quilting>
		<ShowVectorCharts>true</ShowVectorCharts>
	</ViewSettings>
	<Route created="20080310T152003Z" id="{39e52668-a6b9-46fb-be84-2aa2d1cbef8a}">
		<Marks>
		{b60d8abf-eeca-4e76-97ae-f1d22e2c4dd8}
		{d912b4ed-b258-45f0-8645-f1402dcb6e09}
		{6b42b864-9817-49aa-8ff4-ec49a93aac08}
		</Marks>
		<RouteLeg created="20080310T152012Z" id="{40773fa6-0228-43f5-b129-41caa78b6fd1}">
			<PlannedSpeed>5.00 kn</PlannedSpeed>
		</RouteLeg>
		<RouteLeg created="20080310T152014Z" id="{3a08fd9e-928e-46a4-861b-5a6ac179391f}">
			<PlannedSpeed>5.00 kn</PlannedSpeed>
		</RouteLeg>
		<RouteLeg created="20080310T152055Z" id="{ec30467b-0746-4ee9-9acc-c1c1abf26b8e}">
			<PlannedSpeed>20.0 kn</PlannedSpeed>
		</RouteLeg>
		<TotalLength>101.65 NM</TotalLength>
	</Route>
	<Mark created="20080310T152431Z" id="{31edcd4b-133e-4f05-aec2-8cb88635228a}">
		<Color>rgb(0, 1, 0)</Color>
		<Position>42.039215 N 70.060439 W</Position>
		<Icon>Triangle</Icon>
		<ArrivalCircleRadius>1.5 NM</ArrivalCircleRadius>
		<RangeCircleColor>rgb(0, 1, 0)</RangeCircleColor>
		<RangeCircleDisplayCount>3</RangeCircleDisplayCount>
		<RangeCirclePenWidth>5</RangeCirclePenWidth>
		<RangeCircleRadius>2 NM</RangeCircleRadius>
		<RangeCircleFill>true</RangeCircleFill>
		<NameOffset>0,8</NameOffset>
		<DescriptionOffset>0,24</DescriptionOffset>
		<ExistsOutsideCollection>true</ExistsOutsideCollection>
		<Name>Site1</Name>
		<LockPosition>true</LockPosition>
	</Mark>
	<Mark created="20080310T153150Z" id="{18383904-cf36-41a8-b9d7-4a3b4b8279a0}">
		<Color>rgb(0, 1, 0)</Color>
		<Position>42.304025 N 70.898522 W</Position>
		<Icon>Triangle</Icon>
		<ArrivalCircleRadius>0.05 NM</ArrivalCircleRadius>
		<RangeCircleColor>rgb(0, 1, 0)</RangeCircleColor>
		<RangeCircleDisplayCount>3</RangeCircleDisplayCount>
		<RangeCirclePenWidth>3</RangeCirclePenWidth>
		<RangeCircleRadius>2 NM</RangeCircleRadius>
		<RangeCircleFill>true</RangeCircleFill>
		<NameOffset>0,8</NameOffset>
		<DescriptionOffset>0,24</DescriptionOffset>
		<ExistsOutsideCollection>true</ExistsOutsideCollection>
		<Name>New Mark</Name>
	</Mark>
	<Mark created="20080310T152006Z" id="{62a18191-e3d9-4f9e-ab15-3ec90f177bae}">
		<Position>42.199365 N 70.720028 W</Position>
		<ArrivalCircleRadius>0.05 NM</ArrivalCircleRadius>
		<RangeCircleRadius>0 NM</RangeCircleRadius>
		<NameOffset>-12,-19</NameOffset>
		<DescriptionOffset>0,24</DescriptionOffset>
		<Name>001</Name>
	</Mark>
</NavObjectCollection>

Posted by Kurt | Permalink

03.09.2008 18:02

noaadata 0.36 released

noaadata 0.36 is now available for download. The changes:

  • All AIS messages can now generate a NMEA message
  • timed_circular_notice: Released to external development.
    Minor tweaks and cleanup to the xml for cleanup.
    Added a few more area types for visibility, AUV, ROV, divers and swimmers.
    Changed the radius to a Decimal type to allow 10 m increments.
  • whalenotice1: this msg is not under consideration, but did some tweaking as a thought experiment
  • aisutils/uscg.py: added create_nmea for all AIS messages to use
  • django: Added DAC for countries. Added dac.sql with the db entries
  • Minor cleanup on the init scripts. Still needs more help
  • ais-net-to-postgis: cleanTime can be set
  • data/sbnms.kml: added the sanctuary boundaries

Posted by Kurt | Permalink

03.08.2008 09:39

Running Win XP Pro and Ubuntu at the same time

Which ever gets started 2nd looses out on access to system resources like the CD drive, but it works! The system even stays responsive. Here is what it looks like to be running both:


Posted by Kurt | Permalink

03.08.2008 06:17

Palanterra and iDomain

Here are two Common Operating Picture (COP) / Domain Awareness systems from the government. I do not know much about them, but I realized that I have never blogged about these.

Palanterra [pdf - nima.mil] the National Geospatial-Intelligence Agency [NGA]. This article if from 2004.



The FBI's GIS Initiative - iDomain [directions mag]
Until 2005 the Federal Bureau of Investigation (FBI) depended on a
"thick client" approach to GIS that included ArcGIS deployed at 12
field offices with limited means for sharing information. Despite
recognition by the FBI's director of intelligence that GIS was a key
technology for its work, no coordinated efforts to manage the GIS
initiatives were forthcoming. That changed in 2005 with the Domain
Management Initiative, iDomain. iDomain is a Web-based mapping
application based on the National Geospatial-Intelligence Agency's
(NGA) Palanterra (pdf), which is a secure, common operational picture
Web portal held behind the FBI's firewall.
That really isn't much information.

Posted by Kurt | Permalink

03.07.2008 15:29

Windows XP Pro in VMware Fusion

With a ton of help from Roland, I have VMware running Windows XP Pro Enterprise on my Intel Mac laptop. Now I can try out the Coastal Explorer to create my cruise plan. I've downloaded the entire NOAA collection of ENC charts. Drag and drop from the Mac Desktop to Windows Desktop claims to work, but I have no idea where the file went. However, putting the file on a USB drive worked wonders. I inserted the USB drive and Windows running in VMWare mounted the drive and I was able to copy the file I wanted in Windows.


Posted by Kurt | Permalink

03.07.2008 13:50

WiMax Sea Port

Singapore is now the World's First WiMax Sea Port [marine buzz]
Singapore has now become the World's First WiMax Sea Port
(WIreless-broadband-access for SEa Port, or WISEPORT) by the joint
efforts of Maritime and Port Authority of Singapore (MPA), Infocomm
Development Authority (IDA) and QMax Communications Pte Ltd
(QMax). The WISEPORT project was carried out in three years at a cost
of S$12 million.
...

Posted by Kurt | Permalink

03.07.2008 13:42

Whale Strike bill H.R. 5536

Bill Seeks to Reduce Whale Strikes
Friday, March 07, 2008
Representative Allen (D-ME) introduced a bill (H.R. 5536) to require
the Secretary of Commerce to prescribe regulations to reduce the
incidence of vessels colliding with North Atlantic right whales by
limiting the speed of vessels, and for other purposes. (HK Law).


H.R. 5536: To require the Secretary of Commerce to prescribe regulations to reduce the incidence of vessels... [govtrack.us]

h5536.pdf

It is great that you can subribe to an RSS feed for the progress/status of a bill: h110-5536 RSS

Posted by Kurt | Permalink

03.07.2008 11:27

Cosco Busan Enquiry Begins Apr 8th

Cosco Busan Enquiry Begins April 8 [Maritime Accident Casebook]
From the NTSB:
NTSB ANNOUNCES HEARING ON CONTAINER SHIP/BAY BRIDGE ACCIDENT
The US National Transportation Safety Board will hold a two-day public
hearing as part of its ongoing investigation into the accident in
which the 901-foot container ship M/V Cosco Busan spilled about 55,000
gallons of fuel oil after striking the San Francisco-Oakland Bay
Bridge. The hearing will convene at 8:30 a.m. on Tuesday, April 8,
2008, at the NTSB's Board Room and Conference Center, 429 L'Enfant
Plaza, SW., Washington, D.C.

Posted by Kurt | Permalink

03.06.2008 19:46

Adding unix groups to mac osx 10.5 (Leopard)

This one was a bit hard to figure out. It is definitely time to start working on a replacement for userutils on Mac OSX 10.5. The niutils world from 10.4 and older (and the land of NeXT) is gone in Leopard. Here is creating a group and removing it. If you skip '-v' it won't spew quite so much.

Create a group:
% dseditgroup -v -o create newgroup
dseditgroup verbose mode
Options selected by user:
Create option selected
Username determined to be 
Groupname provided as 
.
dsFindDirNodes using local node
dsGetRecordList found no record
dsDoAttributeValueSearch found no record
Next free gid value determined and added
GUID value created and added
Group Record  Created
.
Recordname 
5 attribute(s) found
Attribute[1] is 
        Value[1] is <500>
Attribute[2] is 
        Value[1] is <383A517F-3E6F-492E-A194-0983CF78C2E1>
Attribute[3] is 
        Value[1] is 
Attribute[4] is 
        Value[1] is 
Attribute[5] is 
        Value[1] is 
That is some verbose mode! Now use the group:
% touch foo
% chgrp newgroup foo
% ls -l foo
-rw-r--r-- 1 root newgroup 0 Mar  6 19:27 foo
That worked. Time to get rid of this newgroup.
% dseditgroup -v -q -o delete newgroup
dseditgroup verbose mode
Options selected by user:
Delete option selected
User verification is disabled
Username determined to be 
Groupname provided as 
.
dsFindDirNodes using local node
Group Record  to be Deleted
.
Recordname 
5 attribute(s) found
Attribute[1] is 
        Value[1] is 
Attribute[2] is 
        Value[1] is 
Attribute[3] is 
        Value[1] is <383A517F-3E6F-492E-A194-0983CF78C2E1>
Attribute[4] is 
        Value[1] is <500>
Attribute[5] is 
        Value[1] is 
Record has been deleted
.
Double check that it really is gone:
 
% ls -l foo
-rw-r--r-- 1 root 500 0 Mar  6 19:27 foo
See Also: NetInfo Manager in wikipedia. Despite the title, it has a lot on Leopard

Posted by Kurt | Permalink

03.06.2008 09:18

Bulding a better rat trap - working with older C code

I got a chance yesterday to give a look at some older C code that has had a long history of being passed from person to person. I was looking to see how hard a port to Mac OSX with X11 would be. It's too much for me right now, but here are some notes on how to approach this type of problem. The are huge number of code bases floating around just like the one I was inspecting. People have invested huge amounts of time in this code it is a shame to not bring the code up to date.

The first thing was to update the Makefile. I just go ahead and force the makefile to be GNU specific. Roland would say that I should switch to scons, but here the project has been make based for 15 years. People often list out all the object files that they want to build. This is brittle and labor intensive. The best thing to do is get make to build every source file in the directory:
SRCS:=${wildcard *.c}
OBJS:=${SRCS:.c=.o}
That can remove huge numbers of lines from makefiles. Then I don't have to wonder which source is being used by the project and which is rafted. I just go ahead and svn rm anything that is no longer in use. It's svn, so if need be, it can always come back.

Then the next step is to make the gnu compiler go agro over checking the code. I make warnings errors and fix every one of them. If all warnings are fixed, then when you are working forward, then you will notice when things get a little sketchy. It keeps you honest about what you are doing. In C, that honesty can save you from days of pain staring at the debugger.

Here is the makefile that I came up with for building a library:
# GNU Make specific code
RANLIB := ranlib  # Make this /bin/true for systems without ranlib
# Be as aggressive as possible about code correctness
CFLAGS := -Wall
CFLAGS += -Wimplicit 
CFLAGS += -pedantic 
CFLAGS += -W 
CFLAGS += -Wredundant-decls
CFLAGS += -Werror
ifdef OPTIMIZE
  CFLAGS += -O3 -funroll-loops -fexpensive-optimizations -DNDEBUG
  CFLAGS += -ffast-math 
else
  CFLAGS += -g3 -O0
endif
# Don't list out all the sources
SRCS:=${wildcard *.c}
OBJS:=${SRCS:.c=.o}
# Build a library
libsomething.a: ${OBJS}
	@echo "Building the library"
	ar rv $@ $<
	${RANLIB} $@
# Rest the world
clean:
	-rm -f *.o *~ core *.a
And here is a simple source file that makes a couple points. It used to be considered okay to let the return value of functions just default to int. If you are not going to return anything, I strongly suggest you make the function void. This makes it clear what you are intending. Some people used these for strange side effects. If you must have an usused parameter, then let me know with an UNUSED.
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
/* #include <malloc.h> - This is not a standard header. */
#ifdef __GNUC__
#define UNUSED __attribute((__unused__))
#else
/*!
  \brief GNU CC attribute to denote unused paramters in function calls.
  The attribute remove compiler warning for unused arguments and variable.  Only works
  for GNU compilers such as gcc and g++.
  http://gcc.gnu.org/onlinedocs/gcc-3.4.2/gcc/Variable-Attributes.html
*/
#define UNUSED
/* **************************************** */
#endif
int
do_not_let_the_return_just_default (void) {
    return 1;
}
/* **************************************** */
void
if_nothing_to_return_say_so (UNUSED int mark_unused_as_unused) {
    /* Nothing - NOP */
}
Now that we have a makefile and a foo.c, here is a quick runthrough of the behavior. The default build is a debugging build - slow and large.
% make
cc -Wall -Wimplicit  -pedantic  -W  -Wredundant-decls -Werror -g3 -O0   -c -o foo.o foo.c
Building the library
ar rv libsomething.a foo.o
ar: creating archive libsomething.a
a - foo.o
ranlib   libsomething.a
This is what the directory looks like after the build:
% ls -l
total 40
-rw-r--r-- 1 schwehr schwehr   625 Mar  6 08:19 Makefile
-rw-r--r-- 1 schwehr schwehr   754 Mar  6 08:16 foo.c
-rw-r--r-- 1 schwehr schwehr 14652 Mar  6 08:20 foo.o
-rw-r--r-- 1 schwehr schwehr 14912 Mar  6 08:20 libsomething.a
Now, rebuild with the code heavily optimized. It is always good to run your code both ways to find any places that are unstable.
% make clean
rm -f *.o *~ core *.a
% make OPTIMIZE=1
cc -Wall -Wimplicit  -pedantic  -W  -Wredundant-decls -Werror -O3 -funroll-loops -fexpensive-optimizations -DNDEBUG -ffast-math    -c -o foo.o foo.c
Building the library
ar rv libsomething.a foo.o
ar: creating archive libsomething.a
a - foo.o
ranlib   libsomething.a
The results are drastically smaller:
% ls -l
total 16
-rw-r--r-- 1 schwehr schwehr 625 Mar  6 08:19 Makefile
-rw-r--r-- 1 schwehr schwehr 754 Mar  6 08:16 foo.c
-rw-r--r-- 1 schwehr schwehr 436 Mar  6 08:20 foo.o
-rw-r--r-- 1 schwehr schwehr 696 Mar  6 08:20 libsomething.a
Now, if this were going to be an internet release of code to a wide audience, I would suggest switching to GNU autoconf.

A quick final note. It is often useful to see what the compiler puts in object files and libraries:
% make clean && make
% nm foo.o
00000000 T _do_not_let_the_return_just_default
00000020 T _if_nothing_to_return_say_so
% nm libsomething.a
libsomething.a(foo.o):
00000000 T _do_not_let_the_return_just_default
00000020 T _if_nothing_to_return_say_so
Oh, and for some C++ fun, check out this from planet.debian.net:

Enrico looking at formatting in C++: Formatting numbers with iostream

The response from GyrosGeier:
Enrico, you were probably looking for
.
std::cout << (std::stringstream() << "foo" << std::setw(8) << "bar").rdbuf() << std::endl;
.
which is a WTF in itself.
Happy hacking!

Posted by Kurt | Permalink

03.05.2008 15:52

Google Earth magnetic field models

Stefan Maus of NOAA posted this to the Gpmag-l mailing list this morning:
Combining Andy Jackson's historical main field model up to 1980 with
the IGRF up to 2010, I have created some animations for Google Earth
to visualize magnetic field direction, compass pointing and magnetic
declination from 1590 to 2010:
http://bbs.keyhole.com/ubb/showflat.php/Cat/0/Number/1126099/an/0/page/0#1126099
Note that Google Earth may crash when trying to load more than two
animations in one go.
.
Stand-alone versions of the animations and further information are
available at http://geomag.org/info/declination.html
.
A related Google Earth animation of NGDC's World Magnetic Anomaly Map
can be found at:
http://bbs.keyhole.com/ubb/showflat.php?Cat=0&Number=922040&page=0&vc=#Post922040M
Thanks Stefan! I was hoping to do something like this myself. It's great that he has beat me to it (it probably would have been a while...)






Posted by Kurt | Permalink

03.05.2008 15:46

Coast Guard Cutter Healy to deploy

Coast Guard Cutter Healy to deploy [coastguardnews.com]
SEATTLE - The nation's largest icebreaker, Coast Guard Cutter Healy,
departs Seattle Thursday to prepare for its Arctic West summer 2008
deployment that will have the cutter in the northern polar regions for
over six months.
.
During the deployment, Healy will travel more than 25,000 miles and
conduct more than 2,000 individual science evolutions in the course of
completing seven separate science missions. Healy will spend six weeks
between the second and third missions in Seattle conducting scheduled
maintenance and training.
...
CCOM/JHC will be doing a mapping cruise on the Healy this summer.

Posted by Kurt | Permalink

03.05.2008 12:04

uptime

Dang! Over 600 days of uptime.
 09:18:31 up 606 days, 20:49, 10 users,  load average: 0.18, 0.54, 0.45

Posted by Kurt | Permalink

03.05.2008 09:10

IHO S-44 Standards for Hydrographic Surveys - Fifth Edition

Thanks to Andy A. for forwarding this announcement. I have a new document at the top of my reading list:
The Fifth Edition of the IHO S-44 Standards for Hydrographic Surveys
has recently been approved by the IHO Member States and is attached
for your information.  It is also available from the IHO website
(http://www.iho.shom.fr) under "Publications, Download List, S-44".


S-44_5E.pdf

Also of note: A S-100 draft is out for comments, which are due August 2008. I need to get through this one soon.

S-100 - IHO Geospatial Standard for Hydrographic Data


Posted by Kurt | Permalink

03.04.2008 22:57

Wicked image of a moth tounge by Jeff Riffell et al. on the cover of PNAS

Go Jeff! His killer image of a moth is on the cover of the Proceedings of the National Academy of Sciences (PNAS) this month. Last year, Jeff gave me a tour of the moth lab. And I thought that my research is intense. Hawkmoths are cool!

Jeffrey A. Riffell, Ruben Alarcon, Leif Abrell, Goggy Davidowitz, Judith L. Bronstein, and John G. Hildebrand, Behavioral consequences of innate preferences and olfactory learning in hawkmoth-flower interactions



Cover image: Foraging hawkmoth. In southern Arizona, hawkmoths (Manduca sexta) have an innate odor preference to obtain nectar from jimsonweed (Datura wrightii) flowers. When jimsonweed is absent, hawkmoths learn to feed from agave flowers (Agave palmeri).

PNAS Abstract
Spatiotemporal variability in floral resources can have ecological and
evolutionary consequences for both plants and the pollinators on which
they depend. Seldom, however, can patterns of flower abundance and
visitation in the field be linked with the behavioral mechanisms that
allow floral visitors to persist when a preferred resource is
scarce. To explore these mechanisms better, we examined factors
controlling floral preference in the hawkmoth Manduca sexta in the
semiarid grassland of Arizona. Here, hawkmoths forage primarily on
flowers of the bat-adapted agave, Agave palmeri, but shift to the
moth-adapted flowers of their larval host plant, Datura wrightii, when
these become abundant. Both plants emit similar concentrations of
floral odor, but scent composition, nectar, and flower reflectance are
distinct between the two species, and A. palmeri flowers provide six
times as much chemical energy as flowers of D. wrightii. Behavioral
experiments with both naive and experienced moths revealed that
hawkmoths learn to feed from agave flowers through olfactory
conditioning but readily switch to D. wrightii flowers, for which they
are the primary pollinator, based on an innate odor
preference. Behavioral flexibility and the olfactory contrast between
flowers permit the hawkmoths to persist within a dynamic environment,
while at the same time to function as the major pollinator of one
plant species.
Disclosure: Jeff is married to my sister.

Posted by Kurt | Permalink

03.04.2008 21:50

Using mdbtools to read MS Access Jet DB files from NOAA AWOIS

The NOAA Automated Wreck and Obstruction Information System looks like it has some really useful information about objects that might hang up an emergency response team. The EarthNC KML is pretty cool, but I need to get this data into PostGIS if I am going to use in in our tools. I got a bit of a surprise when I found that the online data files are MS Access. I'm primarily a Mac/Linux user and even though we have Windows boxes all over the building, I'd like to get things automated and working without running any proprietary systems. Finding a library that can read MS Access databases turned out to be tough. I haven't directly worked with Access before. Here is what I found in the zip:
% strings sec1.mdb | head -2
Standard Jet DB
gr@?
Someone on IRC suggested that I use unixODBC. That is great, but it looks like unixODBC uses a library that is not compiled into fink. Turns out that the library is mdbtools. This package hasn't had a release in almost 4 years. I failed horribly with versions 0.5 and 0.6pre1. I finally checked out the code from CVS and made a snapshot. I then had to get the autoconf/libtool/automake business work. I installed libtool2 (2.2-1), automake1.9 (1.8.6-3) and autoconf (2.60-4) from fink. That didn't work until I edited autogen.sh to change libtool to glibtool to pick up the fink libtool. Complicated enough. Finally after ./autogen.sh && ./configure --prefix=some-random-place, I had a working mdbtools. Whew.

Now for a little on using the program...

Check out the database type:
% ./mdb-ver sec1.mdb
JET4
What tables do we have?
% ./mdb-tables sec1.mdb
Section 1 
Only one? Time to see what is inside that table.
% ./mdb-sql -H -p sec1.mdb
1 => describe table "Section 1"
2 => go
RECRD   Long Integer    4
VESSLTERMS      Text    40
CHART   Text    16
AREA    Text    2
CARTOCODE       Text    8
SNDINGCODE      Text    6
DEPTH   Double  8
NATIVLAT        Text    22
NATIVLON        Text    24
LAT83   Text    22
LONG83  Text    24
LATDEC  Double  8
LONDEC  Double  8
NATIVDATUM      Text    4
CONVERT83       Text    2
GPACCURACY      Text    4
GPQUALITY       Text    12
GPSOURCE        Text    12
QUADRANT        Text    2
History Memo/Hyperlink  0      # What is this???
REFERENCE       Text    80
YEARSUNK        Text    8
SYSTEMNUM       Long Integer    4
23 Rows retrieved
If we ask for a generic create statement, it looks pretty good. There are lots of issues to be solved. For example, table names with spaces...
% ./mdb-schema sec1.mdb
CREATE TABLE Section 1
 (
        RECRD                   Long Integer, 
        VESSLTERMS              Text (40), 
        CHART                   Text (16), 
        AREA                    Text (2), 
        CARTOCODE               Text (8), 
        SNDINGCODE              Text (6), 
        DEPTH                   Double, 
        NATIVLAT                Text (22), 
        NATIVLON                Text (24), 
        LAT83                   Text (22), 
        LONG83                  Text (24), 
        LATDEC                  Double, 
        LONDEC                  Double, 
        NATIVDATUM              Text (4), 
        CONVERT83               Text (2), 
        GPACCURACY              Text (4), 
        GPQUALITY               Text (12), 
        GPSOURCE                Text (12), 
        QUADRANT                Text (2), 
        History                 Memo/Hyperlink (255), 
        REFERENCE               Text (80), 
        YEARSUNK                Text (8), 
        SYSTEMNUM               Long Integer
);
The text dump/export is not really what I want. Maybe the sql export will be better.
% ./mdb-export -I sec1.mdb "Section 1" > foo.sql
INSERT INTO Section 1 (RECRD, VESSLTERMS, CHART, AREA, CARTOCODE, SNDINGCODE, 
DEPTH, NATIVLAT, NATIVLON, LAT83, LONG83, LATDEC, LONDEC, NATIVDATUM, CONVERT83, 
GPACCURACY, GPQUALITY, GPSOURCE, QUADRANT, History, REFERENCE, YEARSUNK, SYSTEMNUM) 
VALUES (2126,"VAN","13200","A","102",NULL,0,"42/26/24.00","070/40/16.00",
"42/26/24.35","070/40/14.15",42.4400972222222,70.6705972222222,"6","C","83",
"Low",NULL,"2","
 DESCRIPTION                                  
    24     NO.210; CARGO; SUNK 5/16/35; POSITION ACCURACY WITHIN 1 MILE             
    27     NO.143; FTR., REPORTED THRU ESF ANTI-SUBM. WARFARE UNIT","20",NULL,2044)
Missing the ';' at the end of each insert. It also does not do anything to encode things like degree symbols. Hmmm. Much more to do.

The source: mdbtools-0.6pre1-20080304.tar.bz2

P.S. Dear Apple, why am I getting these errors from emacs all of a sudden?
lib: sequence lost (0x11a0e > 0xeadf) in reply type 0x0!
lib: sequence lost (0x10000 > 0xeae0) in reply type 0x0!
lib: sequence lost (0x10000 > 0xeae8) in reply type 0x1!
Error: Couldn't find per display information
I rebuilt emacs, but that only reduced the frequency of the problem. Looks like restarting X11 did the trick. What's up?

Posted by Kurt | Permalink

03.04.2008 11:42

EarthNC makes a layer for NOAA AWOIS

From Links: Games, KML, Data, and more [Google Earth Blog]

Using the NOAA Automated Wreck and Obstruction Information System (AWOIS)

EarthNC_NOAA_Wrecks.kml [EarthNC]

A wreck in the Stellwagen Bank National Marine Sanctuary (SBNMS):



A wreck in Portmouth Harbor, NH:


Posted by Kurt | Permalink

03.03.2008 20:13

Where was the SR162g AIS receiver tested?

I just got another batch of AIS receivers. This time I got a SR162g with a GPS instead for the straight SR162 units that I have been getting. I was getting weird results from the unit. I was expecting to get the location for my office or 0,0, but instead I was getting some other strange numbers. The I realized that this is probably the test facility for these devices.
% serial-logger -p /dev/tty.USA49W4b433P1.1  --uscg -s ccom-152-162g -v
$AITXT,01,01,91,FREQ,2087,2088*57,rccom-152-162g,1204575527.29
!AIVDM,1,1,,A,152GeG@P00Js@cnHccGP0?wL06Q8,0*15,rccom-152-162g,1204575527.76
&,rccom-152-162g,1204575529.36
RX YACHT AIS Receiver v1.3,rccom-152-162g,1204575529.37
RECE FRQ        R1F1619750,rccom-152-162g,1204575529.38
RECE FRQ        R2F1620250,rccom-152-162g,1204575529.38
INT RATE        IED00,rccom-152-162g,1204575529.39
$GPRMC,001522.41,V,2232.3410,N,11404.0099,E,0.10,0.0,030108,2.0,W,N*00,rccom-152-162g,1204575529.66
!AIVDO,1,1,,,13tfD@?P018::16<qIlP0?vd0000,0*05,rccom-152-162g,1204575529.67
$GPRMC,001522.41,V,2232.3410,N,11404.0099,E,0.10,0.0,030108,2.0,W,N*00,rccom-152-162g,1204575530.54
When I decode the AIVDO (which is oddly easier for me than decoding the GPRMC), I get this:
% ais_msg_1.py -d '!AIVDO,1,1,,,13tfD@?P018::16<qIlP0?vd0000,0*05,rccom-152-162g,1204575548.57'
position:
        MessageID:          1
        RepeatIndicator:    0
        UserID:             265000000
        NavigationStatus:   15
        ROT:                -128
        SOG:                0.1
        PositionAccuracy:   0
        longitude:          114.066831667
        latitude:           22.5390166667
        COG:                0
        TrueHeading:        511
        TimeStamp:          22
        RegionalReserved:   0
        Spare:              0
        RAIM:               False
I threw the location at Google Earth and got a building in China right next to the border of Hong Kong.



It took quite a while, but the unit finally did lock up on the GPS signals.
!AIVDO,1,1,,,13tfD@?P0EJs@jTHcc=4igvt0000,0*61,rccom-152-sr162g,1204583190.51
$GPRMC,222631.15,A,4308.1396,N,07056.4007,W,1.08,122.2,030308,15.0,W,A*34,rccom-152-sr162g,1204583191.5

Posted by Kurt | Permalink

03.03.2008 18:40

Adobe Flex Builder 3 Pro for Education

If you are in an academic institution, Abode will give you a license to Adobe Flex Builder 3 Pro for Education. The app is based on Eclipse. Seems like Eclipse is popping up everywhere.

http://www.flexregistration.com/


Posted by Kurt | Permalink

03.03.2008 17:38

Hats

Bringing Back the Hat [bspcn]
Yet hats are due for a full resurgence. Hats are both functional and
stylish. They can cover a bad hair day, keep your head warm, and shade
your eyes from the sun. They can also be worn to cover a receding
hairline, which interestingly enough is why Frank Sinatra, an iconic
hat wearer, start wearing one in the first place. They give you touch
of class and sophistication, impart personality, and add an
interesting and unique accent to your outfits. And hats are a
sure-fire way to boost your confidence. A cool hat can quickly become
your signature piece and give you extra swagger.

Posted by Kurt | Permalink

03.03.2008 13:51

Cosco Busan payout

Ship Owner to Pay $2m for SF Oil Spill
Agents for the owner of a cargo ship that dumped oil into San
Francisco Bay have agreed to pay $2 million to the city of San
Francisco, the AP reported Thousands of birds died, beaches closed and
the crabbing season was delayed after the 900-ft. Cosco Busan
sideswiped the Bay Bridge. The crash cut a gash in the hull, and
54,000 gallons of oil were spilled. The agreement was reached with
Hudson Marine Management Services of Pennsauken, N.J., acting on
behalf of the ship's Hong Kong-based owner, Regal Stone Ltd. Source:
AP

Posted by Kurt | Permalink

03.03.2008 12:01

Class A AIS setup

So I don't loose track of this again, here is the RM808 Class A AIS unit setup on the R/V Coastal Suveyor back in 2006. L3/Klein has been kind enough to provide us with this unit that we use for research. The RM808 is a Nauticast/Raytheon type unit.


Posted by Kurt | Permalink

03.03.2008 10:08

Arctic Ocean Seabed Rights

Arctic Ocean Seabed Rights: The Last Great Land Grab? [jurist - Legal News and Research]
Recent events suggest that the Arctic Ocean has the potential over
coming years to be at the centre of a modern version of the last great
land grab, except that on this occasion it will be the seabed that
will be up for claim and counterclaim. Russia's 2007 flag planting on
the North Pole seafloor, and recent comments by US government
scientists over the potential for a clash with Canada over the
seafloor north of Alaska illustrate why this issue is beginning to
attract serious attention. Fortunately, there are mechanisms under the
law of the sea to calm fears of an outbreak of tension over the polar
north, but this will create some challenges given the US position
towards the 1982 UN Convention on the Law of the Sea (LOSC).
...
Related: New models sought for icebreaking service
The Finnish Maritime Administration is preparing a statement for
introducing competition into icebreaking services.  The launch of
competition has been less than promising. The first competition in
2006 brought just one offer - the Finnish state shipping company
Finstaship, and the prices that it put forward had officials at the
Maritime Administration falling off their chairs.  What was supposed
to be a bid for tenders turned into a negotiation over prices, and now
a new solution is being sought.
...

Posted by Kurt | Permalink

03.03.2008 09:41

USCG and the Arctic

The USCG, the Arctic, and the future [cgblog]
...
With a mix of the statements/article above and the Coast Guard's
involvement in the "Last Frontier" I have a theory of what we can
expect- The Coast Guard is going to play a huge part in the
international scene in the next few years. With an official Station in
the far north we will become the U.S.'s representatives in the battle
of who gets what/who protects what in the new transit area and mineral
rights. The expectation is that the ice will cease to exist by 2013 in
the transit areas of the Northwest Passage, and the means LOTS of
traffic- and Search and Rescue/LE to boot.
...
and...

RL34391: Coast Guard Polar Icebreaker Modernization: Background, Issues, and Options for Congress, February 26, 2008
Summary:
Of the Coast Guard's three polar icebreakers, two -- Polar Star and
Polar Sea -- have exceeded their intended 30-year service lives, and
Polar Star is not operational and has been caretaker status since July
1, 2006. The Coast Guard has begun initial studies on replacements for
the two ships. Under the Coast Guard's current schedule, the first
replacement ship might enter service in 8 to 10 years. A 2007 report
from the National Research Council (NRC) on the U.S. polar icebreaking
fleet states that "U.S. [polar] icebreaking capability is now at risk
of being unable to support national interests in the north and the
south." Congress, in the explanatory statement for the FY2008
Consolidated Appropriations Act (H.R. 2764/P.L. 110-161 of December
26, 2007), expressed concern about the Coast Guard's ability to meet
its polar operations mission requirements and directed the Coast Guard
to submit a comprehensive report on the issue. The Coast Guard
estimates that new replacement ships might cost $800 million to $925
million each in 2008 dollars, and that the alternative of extending
the service lives of Polar Sea and Polar Star for 25 years might cost
about $400 million per ship. Potential policy issues for Congress
regarding Coast Guard polar icebreaker modernization include the
numbers and capabilities of polar icebreakers the Coast Guard will
need in the future; whether to provide these icebreakers through
construction of new ships or service life extensions of older ships;
whether to accelerate the Coast Guard's current schedule for acquiring
replacement ships; whether new ships should be nuclear powered;
whether new ships should be funded in the Coast Guard budget or the
Department of Defense (DOD) budget; and whether, as an interim
measure, the Polar Star should be repaired and placed back into
service. Congress's options regarding Coast Guard polar icebreaker
modernization include but are not limited to the following: approving
the Coast Guard's current plan; holding hearings to solicit additional
information on the issue; directing the Coast Guard to include the
option of nuclear power in its studies of requirements for future
icebreakers; directing the Coast Guard to pursue a particular
acquisition strategy for icebreaker modernization; accelerating the
procurement of new icebreakers relative to the Coast Guard's current
plan; funding the procurement of new icebreakers in the DOD budget
rather than the Coast Guard budget; and directing the Coast Guard to
reactivate Polar Star. This report will be updated as events warrant.

Posted by Kurt | Permalink

03.03.2008 09:02

AIS Class B still not quite here in the US

I was looking at the FCC web site over the weekend and did not see anything about class B AIS. An update from the RTCM:
March has arrived, and the U.S. Federal Communications Commission has
still not completed the rulemaking which would allow certification of
Class B Automatic Identification Systems in the U.S.
.
The docket has been in "circulation" at the commissioners' level for
some time.  We have no reason to believe that there is any problem
with the rulemaking and AIS-B certification, except that not all of
the commissioners have signed off on it.  Normally, dockets on
circulation that have not been approved go on the agenda of the
monthly meeting of the Commission.  This is what we expected to happen
at the meeting the last week in February.  However, the Commission
decided to move its meeting from Washington to Harvard University for
the purpose of having a one-subject meeting on Broadband Network
Management Practices.
.
The next meeting of the Commission is scheduled for March 19, and once
again we would expect the rulemaking to be on the agenda for that
meeting if it has not been approved before then.

Posted by Kurt | Permalink

03.02.2008 17:03

CCOM wikipedia

I've taken the first step in creating a Wikipedia page for CCOM. Now it is up to others to add to and modify the page. There is lots more that can be added. I've just done a quick overview, the geographic location, and a list of some of the research topics.


Posted by Kurt | Permalink

03.02.2008 14:45

Google Earth class for Bathymetric Spatial Analysis

Last week I taught a lecture for one of the classes in CCOM. I've posted the presentation powerpoint up on the web for anyone who wants it. It is not the most polished of presentations and there is very little explanation in the comment section. This is basically a condensed version of last falls series of lectures. Some of the students have got me excited about using EndNote to put references into Google Earth KML. If we use something like either the wikipedia place markup or WKT [wikipedia] into a particular field, it should not be hard to automatically create a KML from a reference library. For example: Great Bay (New Hampshire)
{{coord|43|04|01|N|70|52|07|W|display=title}}


200802-ESCI896


Posted by Kurt | Permalink

03.02.2008 12:02

Ubuntu running on the Mac with vmware fusion

I'm finally catching up on an item that I've had on my to do list for about 4 months now. I got vmware fusion working on my Mac OSX 10.5 intel laptop, at least for Ubuntu. I downloaded the Ubuntu 7.10 (Gutsy Gibbon) Desktop - English and have it booted and updating. This will let me work on creating debian .deb packages without having to remote ssh to one of my datalogging boxes. I was able to do "apt-get update;apt-get upgrade" and the virtual machine is updating itself. Note to self for the future: when choosing a laptop hard disk, pick the slower disk with more space. Portable attached storage is not much fun.

I am not sure what was wrong when I first tried vmware fusion in Nov/Dec, but then I could not get anything to work. Today, when I tried damn small linux and ubuntu, they both worked great. And I'm back to having Azureus installed for bit torrent downloading of images. Hurry for bit torrent.


Posted by Kurt | Permalink

03.01.2008 16:53

Working towards creating debs

I'm working through some notes and man pages on how to create debs on Ubuntu. I indirectly create debs on the Mac all the time with fink, but I've always ignored what goes on under the hood. Working with the info files and the documentation on finkproject.org has been fairly easy for me. Creating a Ubuntu deb is a little less obvious. If you know of a really good tutorial/howto for creating debs with Ubuntu 7.10, please let me know. I've been playing with the Packaging Tutorial from Debian, but it is a bit out of date or there may be differences between Debian and Ubuntu.

I'd really like to have debs for all that I need for one of my datalogging boxes. I've got 2 remote boxes deployed around Portsmouth/Great Bay and a third likely to go in soon up near Maine Maritime.
sudo apt-get update 
sudo apt-get upgrade
sudo apt-get install build-essential devscripts dh-make
export DEBEMAIL="schwehr _at_ ccom unh edu"
export DEBFULLNAME="Kurt Schwehr"
tar xf wmforkplop-0.9.3.tar.gz
cd wmforkplop-0.9.3
dh_make -f ../wmforkplop-0.9.3.tar.gz 
cd debian
My debian/control file:
Source: wmforkplop
Section: x11
Priority: extra
Maintainer: Kurt Schwehr <schwehr _at_ ccom unh edu>
Build-Depends: debhelper (>= 5), autotools-dev
Standards-Version: 3.7.2
Package: wmforkplop
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: <insert up to 60 chars description>
 <insert long description, indented with spaces>
The control file looks a lot like the fink info files that I am familiar with.

Then going back to the mac with fink, I'm learning more debian package commands:
apt-cache show tilecache-py25
Package: tilecache-py25
Priority: optional
Section: web
Installed-Size: 388
Maintainer: Kurt Schwehr <goatbar _at_ users sourceforge net>
Architecture: darwin-i386
Source: tilecache-py25
Version: 2.01-1
Depends: python25, darwin (>= 9-1)
Filename: dists/local/main/binary-darwin-i386/web/tilecache-py25_2.01-1_darwin-i386.deb
Size: 70092
MD5sum: 78355410ea485af78bd6e3bb691e9d58
Description: WMS-C tiling client
 TileCache is an implementation of a WMS-C (about) compliant server
 made available under the BSD license by MetaCarta.
 .
 TileCache provides a Python-based WMS/TMS server, with pluggable
 caching mechanisms and rendering backends. In the simplest use case,
 TileCache requires only write access to a disk, the ability to run
 Python CGI scripts, and a WMS you want to be cached. With these
 resources, you can create your own local disk-based cache of any WMS
 server, and use the result in any WMS-C supporting client, like
 OpenLayers, or any TMS supporting client, like OpenLayers and
 worldKit.
 .
 Web site: http://tilecache.org/
 .
 Maintainer: Kurt Schwehr <goatbar _at_ users sourceforge net>
BuildDependsOnly: Undefined

Posted by Kurt | Permalink

03.01.2008 08:12

AUV (Navy calls them UUVs) for mine warefare

From Jane's:
Clearing the way: UUVs evolve to meet front-line MCM requirements
It is now five years since the first recognised use of unmanned
underwater vehicles (UUVs) as part of a live mine countermeasures
(MCM) operation. That milestone occurred in March 2003, when US Navy
mine warfare elements deployed as part of Operation 'Iraqi Freedom'
took the Hydroid REMUS 100 system into the warm, shallow waters of the
Northern Arabian Gulf and used its sidescan sonar to systematically
map the approaches into the port of Umm Qasr 
and
Sonardyne's Sentinel works its magic with US Navy
Sonardyne's Sentinel sonar head has been selected by US Naval Sea
Systems Command (NAVSEA) for its Integrated Swimmer Defense
System. The UK-based manufacturer has also secured a contract to test
and integrate the intruder detection system as part of the US Navy's
expeditionary warfare requirement.

Posted by Kurt | Permalink

03.01.2008 07:57

CCOM Bowling

Monica, the fearless organizer:



A crowd shot that doesn't do justice to the turnout:


Posted by Kurt | Permalink