Changeset 10686 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jul 2, 2025, 4:59:26 PM (3 days ago)
Author:
wiese
Message:

CHANGE: naming of old 4char mountpoint names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/scripts/sot.pl

    r9747 r10686  
    4747
    4848            # Check obs types
    49             if ( $satSys eq "G" ) {                     # GPS see #65
     49            if ( $satSys eq "G" ) {    # GPS see #65
    5050                foreach my $otp (@obsTyps) {
    5151                    if ( $otp eq "L2P" || $otp eq "C2P" ) {
     
    6363    my $obstypes = obsTypes2str( $obsTyps_of{$mp} );
    6464    next unless ($obstypes);
    65     writeSOT( "${mp}.sot", $obstypes, $caster );
     65
     66    # names should be 5 or 10 char long, w/o extension.
     67    if ( len($mp) == 4 ) { $mp .= "0" }
     68    my $fname = "${mp}.sot";
     69
     70    writeSOT( $fname, $obstypes, $caster );
    6671}
    6772
Note: See TracChangeset for help on using the changeset viewer.