Friday, March 20, 2009

Sumultaneou volcano and quakes in Tonga.

Big volcanoes and strong earthquake have been occurring in Tonga region. Were they related?

Thursday, March 19, 2009

Switched from xp sp2 to xp sp3.

It is said that sp3 is much more faster than sp2.
It feels good as of now.

How to install Proftpd in Cygwin as Windows service.

Run /usr/bin/cygserver-config first!

Install proftpd as a XP service:
cygrunsrv --install proftpd --path /usr/sbin/proftpd --args --nodaemon --termsig TERM --shutdown

Configure /etc/proftpd.conf.
Configure /etc/xinetd.d/ftpd as the directions.

Monday, March 16, 2009

Monday, March 09, 2009

Want to mount directories in Linux/Unix?

The links does not work in Vsftpd or ProFtpd servers. You must *mount* the shared directories.

In Redhat 5, use
mount --bind src_dir target_dir
and in Solaris, use
mount -F lofs src_dir target_dir
to mount local directories at other points.

This is crucial for construction of a FTP file server.

Friday, March 06, 2009

Problem about conversion between ITRF and WGS84 coordinates

There are errors in my files. I'm distressed.

[tianyf@gpsac geoxyz]$ geoxyz 388042.6123 -740382.4073 6302001.9040 2
1.43977935246514 5.19506102217517 79.0583605368302

The correct values are:
XYZ coordinates (m): 388042.6102 -740382.4131 6302001.911
[Ref. epoch: 2009.0726] [Ref. frame: ITRF2005]
Lat/Lon/Ellip. Ht (deg/deg/m): 82.49429410 -62.34046905 78.1523
[Ref. epoch: 2009.1767] [Geodetic datum: WGS84]

Thursday, March 05, 2009

Panoply is a great NetCDF file viewer!

http://www.giss.nasa.gov/tools/panoply/download_gen.html

I like it. It benefit me a lot when deal with NetCDF files. Thanks those guys who developed it. :)