Menu

#25 wrong JD conversion in AAVSO export

Observation_Manager
pending-fixed
misc (8)
5
2012-04-13
2012-04-03
gmbertani
No

Hello,
I started using OM in February 2012 and I noticed that in AAVSO exports, the JD calculation is wrong (one day back) starting from March 1, while previous observations, til Feb 28, are right.
I included here a HTML export of my observations about Eta Gem, with times specified in local hour and the relative AAVSO text export for the same records that shows the JD, where you can check the difference between February and March

Kind Regards
Giuseppe Massimo Bertani

Discussion

  • gmbertani

    gmbertani - 2012-04-03

    HTML export for Eta Gem

     
  • gmbertani

    gmbertani - 2012-04-03

    #TYPE=Visual
    #SOFTWARE=Observation Manager - 1.121
    #DELIM=;
    #DATE=JD
    #OBSTYPE=Visual
    #OBSCODE=BGMB
    Eta Gem;2456009.3194444445;3.0;BU;3.0;4.1;080101;10 stars
    Eta Gem;2456005.3333333335;3.28;BU;3.0;4.1;080101;na
    Eta Gem;2456000.3125;3.28;B;3.0;4.1;080101;na
    Eta Gem;2455995.34375;3.28;B;3.0;4.1;080101;10 stars
    Eta Gem;2455986.3291666666;3.28;BW;3.0;4.1;080101;10 star program
    Eta Gem;2455983.284722222;3.55;B;3.0;4.1;080101;10 star program

     
  • gmbertani

    gmbertani - 2012-04-12

    I've just seen the problem is not related to export phase only, but the wrong JD pops up even placing the mouse still on a observation's field date.

     
  • Dirk Lehmann

    Dirk Lehmann - 2012-04-12
    • assigned_to: nobody --> doergn
    • status: open --> pending-accepted
     
  • Dirk Lehmann

    Dirk Lehmann - 2012-04-12

    Hi Giuseppe,

    I fully understand your problem. The source is in the API part of Observation Manager. Please see:
    http://sourceforge.net/projects/observation/files/oal_JavaAPI/2.1/observation2.1-src.zip/download

    As I'm currently quiet busy at work, and also started some other changed for the next version I cannot say, when the next version (which will contain a fix) will be released. So in case you can help yourself out by fixing the sources, that's just great!

    Hope this helps. (If youc can't get it fixed, drop me a note again and I'll see whether I can compile a fix for you based on the current released version)

    Best regards and clear skies

    Dirk

     
  • gmbertani

    gmbertani - 2012-04-12

    DateConverter class with patched toJulianDate() method

     
  • gmbertani

    gmbertani - 2012-04-12

    Hi Dirk,

    I've just uploaded here the DateConverter.java file I patched today. See comments marked with GMB.
    I made some test with dates in february, march, april of 2012 and more, July31 and Dec31 2012 and I've seen the JD matches the results given by http://www.onlineconversion.com/julian_date.htm tool.

    waiting for a clear sky... :)
    Giuseppe

     
  • Dirk Lehmann

    Dirk Lehmann - 2012-04-13
    • status: pending-accepted --> pending-fixed
     
  • Dirk Lehmann

    Dirk Lehmann - 2012-04-13

    Thousand thanks Giuseppe!
    I just tested it, too and it looks very good!

    Thanks for your help on this!

    Best

    Dirk

     
Monday.com Logo