Notifications
Clear all

Star*net: How to "rem out" a portion of a line?

15 Posts
9 Users
0 Reactions
4 Views
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

I'm switching to "combo data lines" in Star*net (DV, M) rather than the "D", "V" and "A" lines. Using those, however made it easy to eliminate a single observation from the adjustment (by preceding the line with "#".

But now I can't figure out how to eliminate a single observation (E.G. angle or distance), in the combo DV or M lines:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 '

I don't think the in line option ".data on" or ".data off" is the right tool to use within a line, but can't find any other option in the manual.

 
Posted : April 22, 2016 5:18 am
(@moe-shetty)
Posts: 1426
Registered
 

' M 2-500-3102 etc.

 
Posted : April 22, 2016 5:19 am
(@ken-salzmann)
Posts: 625
Registered
 

rfc, post: 368713, member: 8882 wrote: I'm switching to "combo data lines" in Star*net (DV, M) rather than the "D", "V" and "A" lines. Using those, however made it easy to eliminate a single observation from the adjustment (by preceding the line with "#".

But now I can't figure out how to eliminate a single observation (E.G. angle or distance), in the combo DV or M lines:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 '

I don't think the in line option ".data on" or ".data off" is the right tool to use within a line, but can't find any other option in the manual.

You can still use the # symbol to have it skip a line.

You can mix an A or D line with the DV and M data.

Try it.

Ken

 
Posted : April 22, 2016 5:24 am
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

Ken Salzmann, post: 368715, member: 398 wrote: You can still use the # symbol to have it skip a line.

You can mix an A or D line with the DV and M data.

Try it.

Ken

I don't want to skip the whole line. If I understand Moe's approach, it'd be:

M 2-500-3102 '65-55-37.00 239.4475 88-32-23.00 4.770/5.410 '

To eliminate the angle (65-55-37.00), but not the distance or zenith angle.
Correct?

 
Posted : April 22, 2016 5:33 am
(@half-bubble)
Posts: 941
Customer
 

# is comment symbol, ' is the "use everything after this for the point label" symbol

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 # a comment that doesn't print
# M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 # comments out the whole line

# below labels the point in the graphic
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 'occupied station

To be proper, I'd probably revert your data to the one-kind-of-measurement per line notation you were using before. However as a temporary kludge while building the data file, to not use part of a measurement you can free that part completely, like below freeing the angle:
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 * & & 4.770/5.410 # * is free, no weight; & means use the weight in the .prj settings
or freeing the distance:
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 & * & 4.770/5.410

 
Posted : April 22, 2016 5:40 am
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

half bubble, post: 368719, member: 175 wrote: # is comment symbol, ' is the "use everything after this for the point label" symbol

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 # a comment that doesn't print
# M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 # comments out the whole line

# below labels the point in the graphic
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 'occupied station

To be proper, I'd probably revert your data to the one-kind-of-measurement per line notation you were using before. However as a temporary kludge while building the data file, to not use part of a measurement you can free that part completely, like below freeing the angle:
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 * & & 4.770/5.410 # * is free, no weight; & means use the weight in the .prj settings
or freeing the distance:
M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 & * & 4.770/5.410

Argh. Nothing's ever easy. I've finally found a clean, straightforward way of getting .rw5's into Star*net without mucking about; but the output format is in M and DV lines. It sounds like you're suggesting turning that data line into two:

DV 2-3102 239.4475 88-32-23.00 4.77/5.410
#A 2-500-3102 65-55-37

Every time you have to put another step in the work flow, it raises the probability of error.

Unless you're talking about some automated typo error free process of "revert your data"...

 
Posted : April 22, 2016 6:02 am
(@kent-mcmillan)
Posts: 11419
 

rfc, post: 368713, member: 8882 wrote:
But now I can't figure out how to eliminate a single observation (E.G. angle or distance), in the combo DV or M lines:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 '

I don't think the in line option ".data on" or ".data off" is the right tool to use within a line, but can't find any other option in the manual.

Just change the weight assigned to the measurement to free. For example, if you want to free up the angle measurement in the above "M" line, it would be:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 * & & 4.770/5.410 '

 
Posted : April 22, 2016 6:03 am
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

Kent McMillan, post: 368725, member: 3 wrote: Just change the weight assigned to the measurement to free. For example, if you want to free up the angle measurement in the above "M" line, it would be:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 * & & 4.770/5.410 '

I tried it. Not too bad. It shows up as red in the file so it's easy to see.

Thanks all.

 
Posted : April 22, 2016 6:15 am
(@kris-morgan)
Posts: 3876
 

rfc, post: 368713, member: 8882 wrote: I'm switching to "combo data lines" in Star*net (DV, M) rather than the "D", "V" and "A" lines. Using those, however made it easy to eliminate a single observation from the adjustment (by preceding the line with "#".

But now I can't figure out how to eliminate a single observation (E.G. angle or distance), in the combo DV or M lines:

M 2-500-3102 65-55-37.00 239.4475 88-32-23.00 4.770/5.410 '

I don't think the in line option ".data on" or ".data off" is the right tool to use within a line, but can't find any other option in the manual.

All rem statements are different. When I look to edit something with a rem statement, I look to find some statement that I know does nothing and mirror that in the editing process. That would be what I would do. For instance, DS will rem a line in the raw data editor for Carlson Survey, but the same raw data file, processed through PacSoft, would require -- prior to the line. The same is similar with editing Rinex files.

Look at the top of the file for how the file name or something is styled. That should guide you.

 
Posted : April 22, 2016 6:20 am
(@half-bubble)
Posts: 941
Customer
 

Ah the joy of starnet and .rw5 files. Use what the converter gives you and free the measurement you don't want to use, or put in an obvious dummy value and free it if there is no data observed for that aspect of the "M" line. Why would I convert it to the "more proper" notation? Sometimes starnet can bomb out on a file, claiming geometric weakness if there are too many measurements "freed", when the same data in the proper notatation works fine. Not so much the number of measurements as the lack of redundancy. I had data from a crew that wouldn't learn their data collector well make it shoot a Face 2 distance during an angle set, so had to change those lines in the rw5 converter output from M to DV + D lines. Having something free in every leg of the traverse caused it to spin out. The same data, different grammar, nothing free, it worked.

 
Posted : April 22, 2016 9:30 am
(@crashbox)
Posts: 542
Registered
 

Star*Net really could use a partial line comment-out character; I've also used the (') in a pinch, but I do not like the fact that it essentially turns the remainder of the line into a feature code for this.

On another note, I REALLY wish the Star*Carlson converter could translate resection observations into useable data- I have to resort to manual entry which is not fun if you have numerous resections to key in.

 
Posted : April 22, 2016 11:55 am
(@crashbox)
Posts: 542
Registered
 

I just found in Star*Net's help file that the octothorpe (#) can be used mid-line to comment out the remainder... D'OH!!!

Sometimes the best available evidence IS in front of your nose.

 
Posted : April 29, 2016 12:25 pm
(@mark-mayer)
Posts: 3363
Registered
 

SellmanA, post: 370020, member: 8564 wrote: ... the octothorpe (#) ...

pound sign, hash tag... octothorpe? Hmm.

 
Posted : April 29, 2016 2:51 pm
(@crashbox)
Posts: 542
Registered
 

Yep. I believe that term for the hashtag was coined by someone at Bell Labs back in the 1960's.

 
Posted : April 29, 2016 3:36 pm
(@rankin_file)
Posts: 4016
 

Octothorpe. I love it! #straightouttanerdville

 
Posted : April 29, 2016 11:12 pm