Skip to content

Fix locale issues #349

@daleroberts

Description

@daleroberts

On NCI we can get locale issues:

+---------------------------------------------------------------------------
+ Title:        dnaimport - DynAdjust 2025.
+ Description:  File import and format exchange software
+ Version:      1.4.0, Release with OpenBLAS
+ Build:        Mar 16 2026, 12:52:18 - Clang 22.1.1
+ Copyright:    (C) 2025 Geoscience Australia.
                This software is released under the Apache License.
+ Contact:      geodesy@ga.gov.au
+---------------------------------------------------------------------------

+ Options:
  Network name:                    gda2020_20260318
  Input folder:                    .
  Output folder:                   .
  Associated station file:         ./gda2020_20260318.asl
  Associated measurement file:     ./gda2020_20260318.aml
  Binary station output file:      ./gda2020_20260318.bst
  Binary measurement output file:  ./gda2020_20260318.bms
  Project reference frame:         GDA2020 (user supplied)
  Project epoch:                   01.01.2020 (adopted reference epoch of GDA2020)
  DynaML station file:             ./gda2020_20260318stn.xml
  DynaML measurement file:         ./gda2020_20260318msr.xml

terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

XML issues:


+---------------------------------------------------------------------------
+ Title:        dnaimport - DynAdjust 2025.
+ Description:  File import and format exchange software
+ Version:      1.4.0, Release with OpenBLAS
+ Build:        Mar 19 2026, 09:15:32 - Clang 22.1.1
+ Copyright:    (C) 2025 Geoscience Australia.
                This software is released under the Apache License.
+ Contact:      geodesy@ga.gov.au
+---------------------------------------------------------------------------

+ Options:
  Network name:                    gda2020_20260319
  Input folder:                    .
  Output folder:                   .
  Associated station file:         ./gda2020_20260319.asl
  Associated measurement file:     ./gda2020_20260319.aml
  Binary station output file:      ./gda2020_20260319.bst
  Binary measurement output file:  ./gda2020_20260319.bms
  Project reference frame:         GDA2020 (user supplied)
  Project epoch:                   01.01.2020 (adopted reference epoch of GDA2020)
  DynaML station file:             ./gda2020_20260319stn.xml
  DynaML measurement file:         ./gda2020_20260319msr.xml

+ Importing station discontinuities from /g/data/ms9/test_nadj/APREF20240713/disconts20240713.snx... Done.
+ Parsing: 
Could not load a transcoding service
  apriori.xml...                        
- Nothing to do: ./gda2020_20260319.bst and ./gda2020_20260319.bms do not exist.

See also #333 which is partially related.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions