Friday, March 30, 2007

Matlab 7 installed on FC6

It seems that Matlab works well in FC6. :)

Google Blogger: Cannot view my blog.

It seems that there is a problem with my domain server.
I can add/edit post, but I cannot view the blog home page.
What happened to blogspot.google.com?

Re-run throuth 2006- for sites around China.

Sites include: bjfs, chan, daej, guao, shao, ulab, and wuhn.

GAMIT V10.3

The PC runs very slowly.

Error for GAMIT with pgf77

PGFIO-F-235/formatted write/unit=20/edit descriptor does not match item type.
File name = x70010.034 formatted, sequential access record = 102
In source file makex.f, at line number 1297

How to solve it?
(http://www.pgroup.com/userforum/viewtopic.php?t=816&sid=9892424dc8d0b4577c1eb981a437f7f4)

makex.f 1297:
write(uxfile,592) epoch,number,iyr,jdoy,ihr,min,dsecs
. , kflag,upperc(ksite),latflag,dlat,mlat,seclat
. , lonflag,dlon,mlon,seclon,rad

Thursday, March 29, 2007

Chinese characters in Matlab

Those Chinese comments in a M-file became strange symbols after re-open in Matlab Editor (even anyelse editors). The problem lies in the setting of "Standards and formats" setting of "Regional and Language Options". Set it to "Chinese (PRC)" and then the problem solved. Thus, it seems that Matlab read location information from this section and determine the lunguage with which it displays and stores contents.

Unfortunately, the previous damaged M-file cannot be recovered.

Why USB ports cannot work suddenly?

Is it because of hardware failure? Or software disfunctionality? I re-installed all USB drivers and with no effects.
And Symantec Norton Antivirus didn't find any viruses.

Error encoding with Yahoo/Gmail mails.

I wrote a Chinese letter in English version Yahoo Mail, and sent it out. However, I received an unknown encoding mail in other mailboxs (eg 163). Those Chinese characters appeared as numbers and symbols (like UTF8, but not).

What the hell is going on?

Solution for very short baseline (< 10m)

I couldn't achive a solution for two sites separated ~ 6m away. I tried almost all those options: LC_AUTCLN, LC_HELP, LC_ONLY, L1,L2INDEPEN, L1&L2, L1_ONLY, L2_ONLY. Different results were got with cm-level uncertainity sometimes. The most stable result was obtained when using L2_ONLY choice. But which one is best is still to be studied.

Tuesday, March 20, 2007

God! QOCA seems so difficult for me.

I wonder whether I could grasp its gist in serveral days. Many geophysists use QOCA to derive GPS sites velocities. Is it better than GLOBK? What's the difference between them?

And by the way, why there is a package named FONDA in GAMIT distribution? Is it obsolete?

Can I use V10.21 atml files in V10.3?

It seems that I couldn't. But I need an account to download GAMIT V10.3. And rwk didn't email me one when he switched to V10.3. I don't know why. But becuase currently V10.21 is enough for our work, I don't care. ^_^

Those peopel at MIT are very nice. Thanks you and other great researchers for providing us so good a free gift without which we cannot get our job done. :)

Convert Postscript .ps to JPEG and create animation .GIF

Use ImageMagick.

convert input.ps output.jpg
convert -adjoin ...
convert -dispose previous ...
convert -delay 50 ... *.jpg out.gif

So good a tool!
Thanks.

To run scheduled tasks in Unix.

Use crontab.
for most users:
crontab -e
crontab file syntax:
min1[,min2,...] * * * * command

Or edit the /etc/crontab file.

Monday, March 19, 2007

Be careful to update ~/gg/tables

I found the GPS/Met system failed to run in the past few days, just because the solar ephemeris was out of date. GAMIT got a solution after I update those files from SOPAC. There current GPS/Met system does not support re-run for historical data.

IFC in Freebsd

Thanks for those good guys who produced IFC ports for FreeBSD. After a long time trying, I finally got ifort/icc run. :) Not bad.

Send attatchment in Unix

Use mailx:
uuencode $tfile.bz2 $tfile.bz2 | mailx -s $tfile.bz2 your_email@email.server

Or use pine.

Monday, February 26, 2007

Trying Vista

Not so slow, not so beautiful(urgly font), not so friendly. Something new. So large.

Sunday, February 25, 2007

Install Debian 3.1r5

  1. Download the 1st ISO CD;
  2. Install the base system;
  3. Install the x-window-system;
  4. Configure mouse: /dev/psaux;
  5. Install libx11-dev;
  6. Install ncftp, firefox, ...;
  7. To download something, use wget;
  8. To install other packages, use aptitude;
  9. ...

Happy Chinese New Year!

Happy Chinese New Year to everyone!
^_^

Got back to work tomorrow. Let's do it.

Debian is better than FreeBSD?

Is Debian better than FreeBSD? Because Debian is a free distribution of Linux?
Debian may be the nearly the same with FreeBSD for me. However, I can install Linux applications (such as Matlab/IFC/Maple/PGI) in Debian. But in FreeBSD, it is very cumbersome, or even impossible, to install these.

Anyway, I like FreeBSD more than Debian. And I now got Interl Fortran Compiler port run in FreeBSD now. How good!

My blogs.

http://enod.mysmth.netLink
http://blog.163.com/y.f.tian/ (Also http://y.f.tian.blog.163.com/)

http://360.yahoo.com/tianyunfeng