Changeset 10005 in ntrip for trunk/BNC/scripts/Bnc.pm
- Timestamp:
- Mar 16, 2023, 12:30:50 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/scripts/Bnc.pm
r9910 r10005 304 304 my @mpts_def = (); 305 305 foreach (@mpts) { 306 307 306 # user:passwd@igs-ip.net:2101/ASPA0 RTCM_3.0 ASM -14.33 189.28 no 1 308 307 if ( $_ =~ … … 493 492 my $epochDiff = 0; 494 493 my ( 495 @hlp, @EPOCHs, @N, @E, @U, %SATNUM, @TRPs, 496 @G_CLKs, @R_CLKs, @E_CLKs, @C_CLKs, 494 @hlp, @EPOCHs, @N, @E, @U, 495 %SATNUM, @TRPs, 496 @CLKs, @OFF_GLOs, @OFF_GALs, @OFF_BDSs, 497 497 ); 498 my ( @EPOCHs_ G_CLK, @EPOCHs_R_CLK, @EPOCHs_E_CLK, @EPOCHs_C_CLK);498 my ( @EPOCHs_CLK, @EPOCHs_OFF_GLO, @EPOCHs_OFF_GAL, @EPOCHs_OFF_BDS ); 499 499 my ( %AMB, %RES, %ELE, %ION, %BIA ); 500 500 my ( $station, $lki, $sys, $sat, $amb ); … … 584 584 push @{ $BIA{$lki}{$sys}{DATA} }, $hlp[4] + $hlp[5]; 585 585 } 586 # REC_CLK in BNC 2.13 587 elsif ( $ln =~ /\bREC_CLK G\b/ ) { 588 push ( @EPOCHs_G_CLK, $epochSec ); 589 push ( @G_CLKs, $hlp[3] + $hlp[4] ); 590 } 591 elsif ( $ln =~ /\bREC_CLK R\b/ ) { 592 push ( @EPOCHs_R_CLK, $epochSec ); 593 push ( @R_CLKs, $hlp[3] + $hlp[4] ); 594 } 595 elsif ( $ln =~ /\bREC_CLK E\b/ ) { 596 push ( @EPOCHs_E_CLK, $epochSec ); 597 push ( @E_CLKs, $hlp[3] + $hlp[4] ); 598 } 599 elsif ( $ln =~ /\bREC_CLK C\b/ ) { 600 push ( @EPOCHs_C_CLK, $epochSec ); 601 push ( @C_CLKs, $hlp[3] + $hlp[4] ); 586 elsif ( $ln =~ /\bREC_CLK\b/ ) { 587 push ( @EPOCHs_CLK, $epochSec ); 588 push ( @CLKs, $hlp[3] + $hlp[4] ); 589 } 590 elsif ( $ln =~ /\bOFF_GLO\b/ ) { # 2015-08... OFF_GLO 52.6806 -3.8042 +- 9.0077 591 push ( @EPOCHs_OFF_GLO, $epochSec ); 592 push ( @OFF_GLOs, $hlp[2] + $hlp[3] ); 593 } 594 elsif ( $ln =~ /\bOFF_GAL\b/ ) { # 2015-08... OFF_GAL 52.6806 -3.8042 +- 9.0077 595 push ( @EPOCHs_OFF_GAL, $epochSec ); 596 push ( @OFF_GALs, $hlp[2] + $hlp[3] ); 597 } 598 elsif ( $ln =~ /\bOFF_BDS\b/ ) { # 2015-08... OFF_BDS 52.6806 -3.8042 +- 9.0077 599 push ( @EPOCHs_OFF_BDS, $epochSec ); 600 push ( @OFF_BDSs, $hlp[2] + $hlp[3] ); 602 601 } 603 602 elsif ( $ln =~ /\bSATNUM\b/ ) { # 2015-09... SATNUM G 8 … … 607 606 push ( @TRPs, $hlp[2] + $hlp[3] ); 608 607 } 609 610 608 } # ----- next line ----- 611 609 … … 622 620 . ", TRPs:" 623 621 . scalar @TRPs ); 624 if ( $nof_epochs != scalar @N ) { LOGDIE "number of epochs and residuals not equal\n" }625 if ( $nof_epochs != scalar @TRPs ) { LOGDIE "number of epochs and TRPs not equal\n" }626 if ( @ G_CLKs && scalar @EPOCHs_G_CLK != scalar @G_CLKs ) { LOGDIE "number of epochs and G_CLKs not equal\n" }627 if ( @ R_CLKs && scalar @EPOCHs_R_CLK != scalar @R_CLKs ) { LOGDIE "number of epochs and R_CLKs not equal\n" }628 if ( @ E_CLKs && scalar @EPOCHs_E_CLK != scalar @E_CLKs ) { LOGDIE "number of epochs and E_CLKs not equal\n" }629 if ( @ C_CLKs && scalar @EPOCHs_C_CLK != scalar @C_CLKs ) { LOGDIE "number of epochs and C_CLKs not equal\n" }622 if ( $nof_epochs != scalar @N ) { LOGDIE "number of epochs and residuals not equal\n" } 623 if ( $nof_epochs != scalar @TRPs ) { LOGDIE "number of epochs and TRPs not equal\n" } 624 if ( @CLKs && scalar @EPOCHs_CLK != scalar @CLKs ) { LOGDIE "number of epochs and CLKs not equal\n" } 625 if ( @OFF_GLOs && scalar @EPOCHs_OFF_GLO != scalar @OFF_GLOs ) { LOGDIE "number of epochs and OFF_GLOs not equal\n" } 626 if ( @OFF_GALs && scalar @EPOCHs_OFF_GAL != scalar @OFF_GALs ) { LOGDIE "number of epochs and OFF_GALs not equal\n" } 627 if ( @OFF_BDSs && scalar @EPOCHs_OFF_BDS != scalar @OFF_BDSs ) { LOGDIE "number of epochs and OFF_BDSs not equal\n" } 630 628 631 629 my %data = ( … … 636 634 SATNUM => \%SATNUM, 637 635 TRPs => \@TRPs, 638 G_CLKs => \@G_CLKs,639 R_CLKs => \@R_CLKs,640 E_CLKs => \@E_CLKs,641 C_CLKs => \@C_CLKs,636 CLKs => \@CLKs, 637 OGRs => \@OFF_GLOs, 638 OGEs => \@OFF_GALs, 639 OGCs => \@OFF_BDSs, 642 640 RES => \%RES, 643 641 AMB => \%AMB,
Note:
See TracChangeset
for help on using the changeset viewer.