geodezyx.operational.gins_runner.legacy package

Created on 10/08/2025 11:44:01

@author: psakic

Submodules

geodezyx.operational.gins_runner.legacy.gins_double_diff module

Created on 26/02/2025 11:03:05

@author: psakic

geodezyx.operational.gins_runner.legacy.gins_double_diff.double90_runner(inp_prarie_file, temp_data_folder='')
geodezyx.operational.gins_runner.legacy.gins_double_diff.double_diff_binom(rinex_path_A, rinex_path_B, temp_data_folder='', final_data_folder='')

DISCONTINUED

geodezyx.operational.gins_runner.legacy.gins_double_diff.double_diff_multi(rinex_path_list, temp_data_folder='', final_data_folder='', remove=True, ignore_glo_gal=False)
rinex_path_list :

List of RINEXs paths

temp_data_folder & final_data_folder :

if empty string (‘’), files are saved in pygins_runner “TEMP_DATA” folder and in the specified folder else

geodezyx.operational.gins_runner.legacy.gins_double_diff.gen_dirs_from_double_diff(dd_files_paths_in, director_generik_path, director_name_prefix, out_director_folder='', temp_data_folder='', stations_file='', oceanload_file='', auto_staocl=False, perso_orbclk=False, gins_style_orb='GRG', ac='igs', repro=2, auto_interval=True, out_coords='NULL')

NEW FCT WHICH CAN MANAGE BOTH ONE RINEX OR A LIST OF RINEX

produce a director from a rinex, and write it in the specific location

Input:

rinex_paths_in : can be a rinex path (a string) or a list of paths

Return :

the path of the produced director as a string

If the rinex is not in a gins style folder, it will be copied in the temp_data_folder

If temp_data_folder is not specified ( == ‘’) rinex will be copied in a ad hoc folder ../gin/TEMP_DATA

If out_director_folder is not specified ( == ‘’), output director will be created in the ../gin/data/directeur folder

auto_staoclTrue or False

create automatically a station file and a ocean loading file with the rinex header auto mode is prioritary upon the manu mode so, if a path for stat file or ocload file is specified and auto_staocl is on, it will be the automatic stat/ocload which will be used

perso_orbclkTrue or False

download and use specifics orbits according to ac & repro args (they are useless if perso_orbclk aren’t activated)

auto_intervalTrue or False

find the interval in RINEX and apply it to the director

out_coords‘XYZ’ or ‘FLH’/’PLH’

for geocentrical or geographical coords in output. any other string leaves the type of the generic director.

prairieTrue or False

run prairie externally if True, prairie_kwargs control the arguments of the function prairie_manual (cf above)

geodezyx.operational.gins_runner.legacy.gins_legacy module

Created on 19/04/2025 17:32:02

@author: psakic

geodezyx.operational.gins_runner.legacy.gins_legacy.check_gins_exe(streamin, director_name)

Check the execution status of a GINS director.

Parameters:
  • streamin (file-like object) – The input stream to read the execution output from.

  • director_name (str) – The name of the director being checked.

Returns:

True if the execution was successful, False otherwise.

Return type:

bool

geodezyx.operational.gins_runner.legacy.gins_legacy.dirs_copy_generik_2_working(director_name_prefix, director_generik_path, temp_data_folder=None)
geodezyx.operational.gins_runner.legacy.gins_legacy.export_results_gins_listing(listings_list_in, outpath, static_or_kinematic='kine', outprefix='', coordtype='FLH')
geodezyx.operational.gins_runner.legacy.gins_legacy.get_director_list(wildcard_dir)

with a wildcard (e.g. ‘GWADA_MK2*’) and return a list of corresponding directors found in gin/data/directeur folder

geodezyx.operational.gins_runner.legacy.gins_legacy.merge_yaml(yaml1, yaml2, yaml_out=None)
geodezyx.operational.gins_runner.legacy.gins_legacy.run_director_list_wrap(tupinp)
geodezyx.operational.gins_runner.legacy.gins_legacy.run_dirs_kwwrap(kwarg)
geodezyx.operational.gins_runner.legacy.gins_legacy.run_dirs_multi(dir_paths_inp, nprocs=4, opts_gins_pc='', opts_gins_90='', version='OPERA', cmd_mode='exe_gins_dir', force=False)
geodezyx.operational.gins_runner.legacy.gins_legacy.run_dirs_multislots_custom(director_lis, slots_lis=['', 'U', 'L', 'R'], opts_gins_pc='', opts_gins_90='', version='OPERA', mode='ginspc')
geodezyx.operational.gins_runner.legacy.gins_legacy.smart_directors_to_run(wildcard_dir='', full_path_out=True)

smart runner check directors who worked, and thus give a list of directors whitout those who worked

listing and directeur folders are inspected automatically

geodezyx.operational.gins_runner.legacy.gins_legacy.smart_listing_archive(wildcard_dir, gins_main_archive, gins_anex_archive, prepars_archive, director_archive)

for each listing corresponding to the wildcard : if it’s a prepars => go to the prepars_archive if it’s a gins without duplicate => go to the gins_main_archive if it’s a gins with duplcates => one goes to gins_main_archive

the others in gins_anex_archive

geodezyx.operational.gins_runner.legacy.gins_legacy.sort_by_stations(archive_path, wildcard, i)

i is the indice of the first character of the station name in eg : i = 18 for filename KARIB_MK3_FLH_v2__bara_22282_2011_003

archive path is ABSOLUTE b.c. it can be outside of the gins folder

geodezyx.operational.gins_runner.legacy.gins_legacy.write_oclo_file(station_file, oceanload_out_file, fes_yyyy=2004)

geodezyx.operational.gins_runner.legacy.gins_orbclk_convert module

Created on 26/02/2025 11:36:09

@author: psakic

geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.bad_sat_finder(orbfilein, egrep_ready=True)
geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.clk_2_gins(clk_pathin)
geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.download_convert_2_gins_orb_clk(centraldate, work_folder=None, ac='jpl', repro=2, rm_temp_files=True, data_center='cddis', force=False)
geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.orbit_cleaner(orbfilein, orbfileout)

remove sat of a gins orbit file without a nominal number of epoch

geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.sort_orbit_gins(pathin, pathout)
geodezyx.operational.gins_runner.legacy.gins_orbclk_convert.sp3_2_gins(sp3_pathin)