Friday, March 30, 2007

Where did the hfile for 2005/2006 go?

There is no year directories. However, 2007 is there.

Chinese characters in Matlab under English-version Windows XP

The Chinese text in an ascii file became meanless symbols when use fscanf to read it. But this problem didn't appear in Chinese-version Windows XP.

Herring's SNRPROG cannot work!

from http://www-gpsg.mit.edu/~tah/snrprog/

Herring's snrprog program cannot work for bjfs0010.07o data. It couldn't give out valid results. Is this program too old for this RINEX file?

How to check the performing quality of a GPS receiver/antenna?

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.