Sunday, May 13, 2012

debian/fink and mbsystem

schwehr.org is currently in a "transitional stage"... it will be back soon.  Too much going on with the group of use all hosting together for us to get this settled right away.

Jonny B asked a question this morning about tides and mbsystem.  I didn't know the answer, but here is how I went about investigating.  This is on a mac with 10.7 and fink.  Hopefully this will give people some ideas about how to dig through what is around.  "dpkg -L" lists the files in a package.  As Jonny B said with a reference to the movie The Matrix, "Yowza, nice kung fu!".  I didn't have a fish to give, so the best I could do was point to the tackle store and say you might be able to get what you need to fish in there.


# Which fink packages deal with sonar?
fink apropos sonar
# If you already know about mbsystem...
fink list mbsystem
fink install mbsystem
dpkg -L mbsystem | grep tide
# Nothing
cd ~/Desktop
ls /sw/src/mbsystem*
# See that the latest tar is version 5.3.1917
tar xf /sw/src/mbsystem-5.3.1917.tar.gz
cd mbsystem-5.3.1917
find . | grep -i tide
# Nothing


find . | xargs grep -l tide | wc -l
# 84
find . | xargs grep -l tide
# ./html/mbdatalist.html
# ./html/mbio.html
# ./html/mbnavadjust.html
# ./html/mbotps.html
# ./html/mbprocess.html
# ./html/mbset.html
# ./html/mbsystem.html
# ./html/mbsystem_how_to_get.html
# ./install_makefiles
# ./man/man1/mbdatalist.1
# ./man/man1/mbnavadjust.1
# ./man/man1/mbotps.1
# ./man/man1/mbprocess.1
# ./man/man1/mbset.1
# ./man/man1/mbsystem.1
# ...
# ./src/utilities/mb7kpreprocess.c
# ./src/utilities/mbcopy.c
# ./src/utilities/mbinfo.c
# ./src/utilities/mbprocess.c
# ./src/utilities/mbset.c


man mbset
# "Apply tides to bathymetry."