[Therion] Is survey -namespace off and sometimes on possible in same survey project?

Bruce Mutton bruce at tomo.co.nz
Sun Nov 14 20:09:14 CET 2021


>>Em domingo, 14 de novembro de 2021 às 2:10 AM, Bruce Mutton <bruce at tomo.co.nz> escreveu:

>> Just a quick question before contemplating the migration of a large (more than 70 km and many caves) dataset to Therion.
>>
>> The dataset has unique station names, so in Therion speak, every survey would have -namespace off set.

>Sorry for the slightly off topic reply but AFAIU your dataset having station unique names allows you to set -namespace off which could save some work but you don't have to and as you already know that some other parts of your dataset needs -namespace on, why bother with -namespace off?

Because the existing dataset that it is proposed to migrate (using a custom script):
- is large with many surveys and sub-surveys
- Therion implicitly defaults to -namespace on for every single survey
- with that setting, survey stations, although unique across surveys, cannot be seen unless a namespace is specified
- therefore it will not compile until -namespace off is set in each relevant survey and sub-survey.

A decade ago, before I was particularly aware of 'survey -namespace', I migrated this same dataset, and not being aware I could turn it off, had to manually equate stations to join all the surveys, and equate loops where they involved more than one survey.  I only did half of it before I got fed up.  I realise now that -namespace off is the solution, and that it can be put in the custom script.
But in the meantime I have some native Therion sub-projects that I want to merge into the migrated project, that, of course, use and rely on the implicit default of -namespace on because the stations are not unique (each survey has the station sequence 1 2 3 4 ...).  I do not have an appetite to manually make these stations unique, even using -station-names to modify them it will be too painful.

Hence I am testing the idea of projects where some surveys have -namespace on and some -namespace off.
I could modify one of my existing projects to see what happens, but before doing that I am interested to find out if others have experience with this scenario.

Regards
Bruce





More information about the Therion mailing list