Menu

#8 -d flag should override masterfile?

1.0
open
None
2020-11-05
2020-11-05
No

There is a flag "-d" for vgosDbMake to specify database name. I tried to process the B19344 experiment and call it "19DEC19VI" for "VGOS Intensive". I run the command

LC_ALL=C vgosDbMake -d 19DEC10VI -t /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/

and I expect to get a database called 1"9DEC10VB". But instead I get one called "19DEC10VB":

11:17:29 vgosDbMake-0.5.1 (Long Branch): starting
11:17:29 vgosDbMake-0.5.1 (Long Branch): Library ID: SgLib-0.7.1 (Linganore Creek) released on 05 May, 2020
11:17:29 vgosDbMake-0.5.1 (Long Branch): Driver  ID: vgosDbMake-0.5.1 (Long Branch) released on 05 May, 2020
11:17:29 vgosDbMake-0.5.1 (Long Branch): Host    ID: gyller (Hw: x86_64; Sw: 5.3.0-42-generic version of Linux)
11:17:29 vgosDbMake-0.5.1 (Long Branch): User    ID: Eskil Varenius <eskil.varenius@chalmers.se>, Onsala Space Observatory
11:17:29 vgosDbMake-0.5.1 (Long Branch): User command: "vgosDbMake -d 19DEC10VI -t /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/"
11:17:29 vgosDbMake-0.5.1 (Long Branch): Input data  : "/mnt/raidz0/VGOS-Is-processing/b19344/1234"
11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any VEX file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped
11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any usable fringe file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped
11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the observations do not have correct experiment serial number (==16383)
11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the provided database name, OSO, was ignored
11:17:31 SgVlbiSession::selfCheck(): the X-band is set as the primary one
11:17:31 SgVlbiSession::selfCheck(): the record mode has been set to "NChan:32 Rbw:2048.0 Bps:2"
11:17:31 SgVlbiSession::selfCheck(): skipping the eccentricities set up: incomplete data set 
11:17:31 SgVlbiSession::checkChannelSetup(): the session is ok
11:17:31 SgVlbiSession::selfCheck(): the session selfcheck has been completed
11:17:31 ERROR: SgVlbiSession::getDataFromFringeFiles(): cannot get the experiment serial number
11:17:31 vgosDbMake-0.5.1 (Long Branch): the session B19344 (19DEC10VB) has been imported from fringes files
11:17:31 SgVlbiSession::putDataIntoVgosDb(): the session 19DEC10VB has been updated, elapsed time: 25.00 ms
11:17:31 vgosDbMake-0.5.1 (Long Branch): export of data into vgosDb tree has been complete
11:17:31 vgosDbMake-0.5.1 (Long Branch): the elapsed time to process 159 observations is: 02.18sec (2.18 sec)

We see it decides to call the database "19DEC10VB". I assume this is because the session is a "B-experiment" in the masterfile. I would have thought that explicitly setting the "-d" argument should override the naming. It this a bug? I understand if the masterfile is used by default, but if setting the -d flag explicitly, I would expect this to be obeyed.

Related

Tickets: #8

Discussion

  • Sergei Bolotin

    Sergei Bolotin - 2020-11-05

    Hi Eskil,
    Thank you for your email! Can you say, what the second "-d OSO" option in
    your command should mean?
    vgosDbMake checks the size of the database and if it is !9, it ignores it,
    see the log output:

    11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the
    provided database name, OSO, was ignored

    Kindly yours,
    Sergei.

    On Thu, Nov 5, 2020 at 5:25 AM Eskil Varenius varenius@users.sourceforge.net wrote:


    Status: open
    Milestone: 1.0
    Created: Thu Nov 05, 2020 10:25 AM UTC by Eskil Varenius
    Last Updated: Thu Nov 05, 2020 10:25 AM UTC
    Owner: Sergei Bolotin

    There is a flag "-d" for vgosDbMake to specify database name. I tried to
    process the B19344 experiment and call it "19DEC19VI" for "VGOS Intensive".
    I run the command

    LC_ALL=C vgosDbMake -d 19DEC10VI -t
    /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o
    /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/

    and I expect to get a database called 1"9DEC10VB". But instead I get one
    called "19DEC10VB":

    11:17:29 vgosDbMake-0.5.1 (Long Branch): starting11:17:29 vgosDbMake-0.5.1 (Long Branch): Library ID: SgLib-0.7.1 (Linganore Creek) released on 05 May, 202011:17:29 vgosDbMake-0.5.1 (Long Branch): Driver ID: vgosDbMake-0.5.1 (Long Branch) released on 05 May, 202011:17:29 vgosDbMake-0.5.1 (Long Branch): Host ID: gyller (Hw: x86_64; Sw: 5.3.0-42-generic version of Linux)11:17:29 vgosDbMake-0.5.1 (Long Branch): User ID: Eskil Varenius eskil.varenius@chalmers.se, Onsala Space Observatory11:17:29 vgosDbMake-0.5.1 (Long Branch): User command: "vgosDbMake -d 19DEC10VI -t /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/"11:17:29 vgosDbMake-0.5.1 (Long Branch): Input data : "/mnt/raidz0/VGOS-Is-processing/b19344/1234"11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any VEX file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any usable fringe file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the observations do not have correct experiment serial number (==16383)11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the provided database name, OSO, was ignored11:17:31 SgVlbiSession::selfCheck(): the X-band is set as the primary one11:17:31 SgVlbiSession::selfCheck(): the record mode has been set to "NChan:32 Rbw:2048.0 Bps:2"11:17:31 SgVlbiSession::selfCheck(): skipping the eccentricities set up: incomplete data set 11:17:31 SgVlbiSession::checkChannelSetup(): the session is ok11:17:31 SgVlbiSession::selfCheck(): the session selfcheck has been completed11:17:31 ERROR: SgVlbiSession::getDataFromFringeFiles(): cannot get the experiment serial number11:17:31 vgosDbMake-0.5.1 (Long Branch): the session B19344 (19DEC10VB) has been imported from fringes files11:17:31 SgVlbiSession::putDataIntoVgosDb(): the session 19DEC10VB has been updated, elapsed time: 25.00 ms11:17:31 vgosDbMake-0.5.1 (Long Branch): export of data into vgosDb tree has been complete11:17:31 vgosDbMake-0.5.1 (Long Branch): the elapsed time to process 159 observations is: 02.18sec (2.18 sec)

    We see it decides to call the database "19DEC10VB". I assume this is
    because the session is a "B-experiment" in the masterfile. I would have
    thought that explicitly setting the "-d" argument should override the
    naming. It this a bug? I understand if the masterfile is used by default,
    but if setting the -d flag explicitly, I would expect this to be obeyed.


    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/nusolve/tickets/8/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Tickets: #8

  • Eskil Varenius

    Eskil Varenius - 2020-11-05

    Oh, silly me! Well spotted. The second flag should be "-r OSO" and not "-d OSO". I missed that :(. My bad, apologies for taking your time. Please close this ticket.
    Kind regards
    Eskil

     
    • Sergei Bolotin

      Sergei Bolotin - 2020-11-05

      Hi Eskil,
      It is ok, do not worry :). And, please, keep asking if something happens
      not as expected.
      Kindly yours,
      Sergei.

      On Thu, Nov 5, 2020 at 9:27 AM Eskil Varenius varenius@users.sourceforge.net wrote:

      Oh, silly me! Well spotted. The second flag should be "-r OSO" and not "-d
      OSO". I missed that :(. My bad, apologies for taking your time. Please
      close this ticket.
      Kind regards
      Eskil


      Status: open
      Milestone: 1.0
      Created: Thu Nov 05, 2020 10:25 AM UTC by Eskil Varenius
      Last Updated: Thu Nov 05, 2020 10:25 AM UTC
      Owner: Sergei Bolotin

      There is a flag "-d" for vgosDbMake to specify database name. I tried to
      process the B19344 experiment and call it "19DEC19VI" for "VGOS Intensive".
      I run the command

      LC_ALL=C vgosDbMake -d 19DEC10VI -t
      /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o
      /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/

      and I expect to get a database called 1"9DEC10VB". But instead I get one
      called "19DEC10VB":

      11:17:29 vgosDbMake-0.5.1 (Long Branch): starting11:17:29 vgosDbMake-0.5.1 (Long Branch): Library ID: SgLib-0.7.1 (Linganore Creek) released on 05 May, 202011:17:29 vgosDbMake-0.5.1 (Long Branch): Driver ID: vgosDbMake-0.5.1 (Long Branch) released on 05 May, 202011:17:29 vgosDbMake-0.5.1 (Long Branch): Host ID: gyller (Hw: x86_64; Sw: 5.3.0-42-generic version of Linux)11:17:29 vgosDbMake-0.5.1 (Long Branch): User ID: Eskil Varenius eskil.varenius@chalmers.se, Onsala Space Observatory11:17:29 vgosDbMake-0.5.1 (Long Branch): User command: "vgosDbMake -d 19DEC10VI -t /mnt/raidz0/VGOS-Is-processing/b19344/crep.txt -d OSO -o /home/eskil/bexp_vgosDb/ /mnt/raidz0/VGOS-Is-processing/b19344/1234/"11:17:29 vgosDbMake-0.5.1 (Long Branch): Input data : "/mnt/raidz0/VGOS-Is-processing/b19344/1234"11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any VEX file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): cannot find any usable fringe file in the directory /mnt/raidz0/VGOS-Is-processing/b19344/1234/scratch, skipped11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the observations do not have correct experiment serial number (==16383)11:17:31 Warning: SgVlbiSession::getDataFromFringeFiles(): the provided database name, OSO, was ignored11:17:31 SgVlbiSession::selfCheck(): the X-band is set as the primary one11:17:31 SgVlbiSession::selfCheck(): the record mode has been set to "NChan:32 Rbw:2048.0 Bps:2"11:17:31 SgVlbiSession::selfCheck(): skipping the eccentricities set up: incomplete data set 11:17:31 SgVlbiSession::checkChannelSetup(): the session is ok11:17:31 SgVlbiSession::selfCheck(): the session selfcheck has been completed11:17:31 ERROR: SgVlbiSession::getDataFromFringeFiles(): cannot get the experiment serial number11:17:31 vgosDbMake-0.5.1 (Long Branch): the session B19344 (19DEC10VB) has been imported from fringes files11:17:31 SgVlbiSession::putDataIntoVgosDb(): the session 19DEC10VB has been updated, elapsed time: 25.00 ms11:17:31 vgosDbMake-0.5.1 (Long Branch): export of data into vgosDb tree has been complete11:17:31 vgosDbMake-0.5.1 (Long Branch): the elapsed time to process 159 observations is: 02.18sec (2.18 sec)

      We see it decides to call the database "19DEC10VB". I assume this is
      because the session is a "B-experiment" in the masterfile. I would have
      thought that explicitly setting the "-d" argument should override the
      naming. It this a bug? I understand if the masterfile is used by default,
      but if setting the -d flag explicitly, I would expect this to be obeyed.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/nusolve/tickets/8/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #8


Log in to post a comment.