Subject: Re: SMA MIRIAD Bug Report
From: Jun-Hui Zhao <jzhao@cfa.harvard.edu>
Date: Mon, 13 Jun 2011 12:28:52 -0400 (EDT)
To: slai@phys.nthu.edu.tw
CC: pmailhot@cfa.harvard.edu

      The code smaflux.for has not been changed since Feb. 17, 2007.
So in beta 1.3.1, 'SmaFlux: version 1.1 17-02-07' has been kept.
In other words, you were using the latest version of smaflux but
the out-of-date ephemeris catalogs which caused you the fatal error
in smaflux. The problem should have gone by using
the beta Miriad 1.3.1 where the ephemeris has been updated.

      Please use beta Miriad 1.3.1. Here is the tarball of the binary
codes (beta 1.3.1) which contains the latest version of "smaflux":
http://www.cfa.harvard.edu/sma/miriad/download/smaMiriadDB/bRHsmaMiriad20May2011.tar.gz
      This also can be found from http://www.cfa.harvard.edu/sma/miriad/download/
      Jun-Hui

On Mon, 13 Jun 2011 slai@phys.nthu.edu.tw wrote:

Dear Jun-Hui,

I understand that you must have a lot of things to do, but
I would be very much appreciate if I can get the latest 'smaflux' now
because I need to combine a few tracks.

I think my computer has Red hat 6.0 operating system,
so perhaps sending me a binary code would work?


cheers,
Shih-Ping


2011/6/13 Jun-Hui Zhao <jzhao@cfa.harvard.edu>:
I meant "ephemeris".
            JHZ
On Mon, 13 Jun 2011, Jun-Hui Zhao wrote:

Dear Shih-Ping,
      The beta 1.3.1 has updated the emphemeris catalogs for the solar
objects but has made no changes to the smaflux code; the fatal error
caused by the old emphemeris data catalogs should have gone.
Good catching! We will update the version number of SMAFLUX to reflect
the ephemeris updating in our next release.
      Jun-Hui


On Mon, 13 Jun 2011 slai@phys.nthu.edu.tw wrote:

Dear Jun-Hui,

I did follow the regular installation steps, and I am able
to read 4GHz data with polarization and even get fantastic results.
My only problem is that smaflux came with smaMiriad20May2011.tar
is not the newest version according to you.
Here are some inquiry of the version information

MIRIAD version <<<<<<< VERSION: beta 1.3.1. 2011-05-20 for handling
SMA 4GHz and 2GHz mode data. >>>>>>>  [CVS] loaded from
MIR=/n/astromake/opt/miriad_cvs
  Optimized for telescope=sma

[slai@sky ~]$ which smaflux
/n/astromake/opt/miriad_cvs/bin/linux/smaflux
[slai@sky ~]$ more /n/astromake/opt/miriad_cvs/VERSION
<<<<<<< VERSION:
beta 1.3.1. 2011-05-20 for handling SMA 4GHz and 2GHz mode data.

[slai@sky ~]$ smaflux
SmaFlux: version 1.1 17-02-07
### Fatal Error [smaflux]:  No input files were given.



cheers,
Shih-Ping

2011/6/13 Jun-Hui Zhao <jzhao@cfa.harvard.edu>:
for regular installation: follow the steps given here
http://www.cfa.harvard.edu/sma/miriad/download/installLinux.html
for binary installation: follow
http://www.cfa.harvard.edu/sma/miriad/download/binstallLinux.html
    Thanks.
    Jun-Hui

On Mon, 13 Jun 2011 slai@phys.nthu.edu.tw wrote:

Dear Jun-Hui,

Thanks for your response, but I really just downloaded
smaMiriad20May2011.tar few days ago from the link you provided.
Could you please tell me how to update  smauvspec and smaflux to newer
verion?

Many thanks!!

Shih-Ping


2011/6/12 Jun-Hui Zhao <jzhao@cfa.harvard.edu>:
Dear Shih-Ping,
   Again your version of Miriad for SMA data reduction appears
to be out of date. The Fatal Error in "smaflux" that you reported is
related to the ephemeris of the solar objects which has been
updated in the beta release (SMA beta release 1.3.1).
http://www.cfa.harvard.edu/sma/miriad/download/
   Jun-Hui

On Sat, 11 Jun 2011 slai@phys.nthu.edu.tw wrote:

Below is the result of the form submission.  It was submitted by
 (slai@phys.nthu.edu.tw) on Saturday, June 11, 2011 at 03:26:23
---------------------------------------------------------------------------

Logging to SMAMBugRpt

Bug Tracking No        20

User_Name: Shih-Ping Lai

Report_Type: Bug

Severity: Major

Priority: High

Linux: RedHat

Linux_Other:

Linux_Ver:

Kernel:

Hardware:

Occured_When: Task

Occured_Notes: SmaFlux: version 1.1 17-02-07

Description: MJD in cat/smaplmdl/Titan.ephem.dat ranges from 52640 to 55926,
but smaflux still report Julian date has exceeded the limit for MJD=  55585.4688

I am using the data reduction script from
http://www.cfa.harvard.edu/sma/miriad/spec/SMAscripts/modes/1RxPolar/4GHz/Ver1.0/sma4GHz1Rx_poltst.txt

FLUX:
echo FLux calibrator = $fcal
smaflux vis=$fname.tsys.$nw.bp$chi select=pol(ll,rr),so($fcal) mirhome=$MIR
goto terminate


Terminal: pangu::/n/cosmo/users/slai/work/SMA_pol/N13334A/very_extended/track1_4G./pol_cal.csh
110124_rx1.usb
FLux calibrator = titan
SmaFlux: version 1.1 17-02-07
Found solar system objects: titan
 MJD=  55585.4688
 Fatal Error smaflux:  the Julian date has exceeded the limit.
end


Supplied_Code:

---------------------------------------------------------------------------