Vsphinx.addnodesdocument)}( rawsourcechildren](docutils.nodessubstitution_definition)}(h.. |rel| replace:: 10.71h]h Text10.71}parenth sba attributes}(ids]classes]names]reladupnames]backrefs]utagnameh source lineKhh _documenthubh )}(h.. |date| replace:: |today| h]h2024 136}(hh)h(hh%Nh'Nubah}(h]h]h]dateah ]h"]uh$h h%h&h'Khhh(hubh target)}(h.. _intro_prod_combine:h]h}(h]h]h]h ]h"]refidintro-prod-combineuh$h8h'Khhh(hh%F/chandler/home/floyd/public_html/gg/docs/source/intro/prod/combine.rstubh section)}(hhh](h title)}(hCombining h-filesh]hCombining h-files}(hhNh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$hLhhIh(hh%hFh'Kubh paragraph)}(hXThere are several reasons why you may want to combine the h-files from your daily GAMIT processing with other h-files before generating a times series or velocity solution. If you have more than ~ 50 sites in a regional network, it is more efficient and just as accurate to process these in GAMIT networks of 30–50 sites and then combine them in GLOBK than to use a single large network (the GAMIT limit is 99 sites). Further, if you are processing a regional network and want to tie it rigorously to a larger regional or global reference frame, you can do so by combining your h-file(s) with those generated by MIT or SOPAC from their IGS processing or another analysis center's processing of regional continuous networks. Finally, to obtain more useful long-term statistics from your time series, to strengthen the reference frame for survey-mode observations, or to reduce the computational time for velocity solutions, you may wish to first combine the h-files from 5–30 days into a single h-file to be used in subsequent solutions. We discuss the pros and cons of these strategies in :numref:`intro_prod_weighting` and :numref:`intro_prod_refframe`, but their mechanical implementation is straightforward. For processing of a single day, :program:`sh_glred` combines the GAMIT processing from multiple GNSS or multiple subnets using the :option:`-netext` option and includes independently processed regional or global networks using the :option:`LA`, :option:`LB` or :option:`LC` options. Running :program:`sh_glred` for a single day with :option:`-globk_prefit COMB` specified will direct :program:`globk` to save a combined h-file for further processing. For multiple days, this option together with :option:`-ncomb` will aggregate the data over several days.h](hXGThere are several reasons why you may want to combine the h-files from your daily GAMIT processing with other h-files before generating a times series or velocity solution. If you have more than ~ 50 sites in a regional network, it is more efficient and just as accurate to process these in GAMIT networks of 30–50 sites and then combine them in GLOBK than to use a single large network (the GAMIT limit is 99 sites). Further, if you are processing a regional network and want to tie it rigorously to a larger regional or global reference frame, you can do so by combining your h-file(s) with those generated by MIT or SOPAC from their IGS processing or another analysis center’s processing of regional continuous networks. Finally, to obtain more useful long-term statistics from your time series, to strengthen the reference frame for survey-mode observations, or to reduce the computational time for velocity solutions, you may wish to first combine the h-files from 5–30 days into a single h-file to be used in subsequent solutions. We discuss the pros and cons of these strategies in }(hh^h(hh%Nh'Nubh pending_xref)}(h:numref:`intro_prod_weighting`h]h literal)}(hhjh]hintro_prod_weighting}(hhnh(hh%Nh'Nubah}(h]h](xrefstd std-numrefeh]h ]h"]uh$hlhhhubah}(h]h]h]h ]h"]refdocintro/prod/combine refdomainhyreftypenumref refexplicitrefwarn reftargetintro_prod_weightinguh$hfh%hFh'Khh^ubh and }(hh^h(hh%Nh'Nubhg)}(h:numref:`intro_prod_refframe`h]hm)}(hhh]hintro_prod_refframe}(hhh(hh%Nh'Nubah}(h]h](hxstd std-numrefeh]h ]h"]uh$hlhhubah}(h]h]h]h ]h"]refdoch refdomainhreftypenumref refexplicitrefwarnhintro_prod_refframeuh$hfh%hFh'Khh^ubhZ, but their mechanical implementation is straightforward. For processing of a single day, }(hh^h(hh%Nh'Nubhliteral_strong)}(h:program:`sh_glred`h]hsh_glred}(hhh(hh%Nh'Nubah}(h]h]programah]h ]h"]uh$hhh^ubhP combines the GAMIT processing from multiple GNSS or multiple subnets using the }(hh^h(hh%Nh'Nubhg)}(h:option:`-netext`h]hm)}(hhh]h-netext}(hhh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhhubah}(h]h]h]h ]h"]refdoch refdomainh،reftypeoption refexplicitrefwarn std:programNh-netextuh$hfh%hFh'Khh^ubhS option and includes independently processed regional or global networks using the }(hh^h(hh%Nh'Nubhg)}(h :option:`LA`h]hm)}(hhh]hLA}(hhh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhhubah}(h]h]h]h ]h"]refdoch refdomainhreftypeoption refexplicitrefwarnhNhLAuh$hfh%hFh'Khh^ubh, }(hh^h(hh%Nh'Nubhg)}(h :option:`LB`h]hm)}(hjh]hLB}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainj!reftypeoption refexplicitrefwarnhNhLBuh$hfh%hFh'Khh^ubh or }(hh^h(hh%Nh'Nubhg)}(h :option:`LC`h]hm)}(hj9h]hLC}(hj;h(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhj7ubah}(h]h]h]h ]h"]refdoch refdomainjEreftypeoption refexplicitrefwarnhNhLCuh$hfh%hFh'Khh^ubh options. Running }(hh^h(hh%Nh'Nubh)}(h:program:`sh_glred`h]hsh_glred}(hj[h(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhh^ubh for a single day with }(hh^h(hh%Nh'Nubhg)}(h:option:`-globk_prefit COMB`h]hm)}(hjoh]h-globk_prefit COMB}(hjqh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjmubah}(h]h]h]h ]h"]refdoch refdomainj{reftypeoption refexplicitrefwarnhNh-globk_prefit COMBuh$hfh%hFh'Khh^ubh specified will direct }(hh^h(hh%Nh'Nubh)}(h:program:`globk`h]hglobk}(hjh(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhh^ubh` to save a combined h-file for further processing. For multiple days, this option together with }(hh^h(hh%Nh'Nubhg)}(h:option:`-ncomb`h]hm)}(hjh]h-ncomb}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNh-ncombuh$hfh%hFh'Khh^ubh+ will aggregate the data over several days.}(hh^h(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh])}(hX:program:`sh_glred` allows you to automatically download and/or link in h-files from an external source. If the :option:`F` option is specified, h-files implied by the :option:`-net` option will be downloaded from MIT or SOPAC into the primary h-file directory (specified by :content:`glfpth` in :file:`process.defaults` and nominally :file:`glbf/`). Alternatively, you can collect the h-files in advance in the directory specified by :content:`hfnd` in :file:`process.defaults` and then set the :option:`LA`, :option:`LB`, and/or :option:`LC` options to link these files into :file:`glbf/`. :option:`LA` refers to ascii h-files (requiring :program:`htoglb` translation) of the form :file:`h{}{}?.{}{}` (e.g. SOPAC network files), :option:`LB` to binary h-files of the form :file:`h{}{
}{}????_{}{}.gl?` (with :file:`.glx` given precedence over :file:`.glr`), and :option:`LC` to binary h-files of the form :file:`H{}{}{
}_{}{}.GLX` (e.g., MIT combined h-files). For example, to use local processing in combination with MIT global h-files previously downloaded onto your system, the command to generate a 30-day time series for experiment "emed" would beh](h)}(h:program:`sh_glred`h]hsh_glred}(hjh(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhjubh] allows you to automatically download and/or link in h-files from an external source. If the }(hjh(hh%Nh'Nubhg)}(h :option:`F`h]hm)}(hjh]hF}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNhFuh$hfh%hFh'Khjubh- option is specified, h-files implied by the }(hjh(hh%Nh'Nubhg)}(h:option:`-net`h]hm)}(hj h]h-net}(hj h(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNh-netuh$hfh%hFh'Khjubh] option will be downloaded from MIT or SOPAC into the primary h-file directory (specified by }(hjh(hh%Nh'Nubhm)}(h:content:`glfpth`h]hglfpth}(hj+h(hh%Nh'Nubah}(h]h](code highlightcontenttexteh]h ]h"]languagej9uh$hlhjubh in }(hjh(hh%Nh'Nubhm)}(h:file:`process.defaults`h]hprocess.defaults}(hjBh(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubh and nominally }(hjh(hh%Nh'Nubhm)}(h :file:`glbf/`h]hglbf/}(hjWh(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubhW). Alternatively, you can collect the h-files in advance in the directory specified by }(hjh(hh%Nh'Nubhm)}(h:content:`hfnd`h]hhfnd}(hjlh(hh%Nh'Nubah}(h]h](j6j7j8j9eh]h ]h"]languagej9uh$hlhjubh in }hjsbhm)}(h:file:`process.defaults`h]hprocess.defaults}(hjh(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubh and then set the }(hjh(hh%Nh'Nubhg)}(h :option:`LA`h]hm)}(hjh]hLA}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNhLAuh$hfh%hFh'Khjubh, }(hjh(hh%Nh'Nubhg)}(h :option:`LB`h]hm)}(hjh]hLB}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNhLBuh$hfh%hFh'Khjubh , and/or }(hjh(hh%Nh'Nubhg)}(h :option:`LC`h]hm)}(hjh]hLC}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNhLCuh$hfh%hFh'Khjubh" options to link these files into }(hjh(hh%Nh'Nubhm)}(h :file:`glbf/`h]hglbf/}(hjh(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubh. }(hjh(hh%Nh'Nubhg)}(h :option:`LA`h]hm)}(hjh]hLA}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainj#reftypeoption refexplicitrefwarnhNhLAuh$hfh%hFh'Khjubh$ refers to ascii h-files (requiring }(hjh(hh%Nh'Nubh)}(h:program:`htoglb`h]hhtoglb}(hj9h(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhjubh translation) of the form }(hjh(hh%Nh'Nubhm)}(h':file:`h{}{}?.{}{}`h](hh}(hjKh(hh%Nh'Nubh emphasis)}(hh]h}(hjUh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjKubjT)}(hh]h}(hjch(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjKubh?.}(hjKh(hh%Nh'NubjT)}(hh]h}(hjuh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjKubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjKubeh}(h]h]fileah]h ]h"]rolefileuh$hlhjubh (e.g. SOPAC network files), }(hjh(hh%Nh'Nubhg)}(h :option:`LB`h]hm)}(hjh]hLB}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNhLBuh$hfh%hFh'Khjubh to binary h-files of the form }(hjh(hh%Nh'Nubhm)}(h3:file:`h{}{
}{}????_{}{}.gl?`h](hh}(hjh(hh%Nh'NubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubjT)}(h
h]h
}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubh????_}(hjh(hh%Nh'NubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubh.gl?}(hjh(hh%Nh'Nubeh}(h]h]fileah]h ]h"]rolefileuh$hlhjubh (with }(hjh(hh%Nh'Nubhm)}(h :file:`.glx`h]h.glx}(hj%h(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubh given precedence over }(hjh(hh%Nh'Nubhm)}(h :file:`.glr`h]h.glr}(hj:h(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubh), and }(hjh(hh%Nh'Nubhg)}(h :option:`LC`h]hm)}(hjQh]hLC}(hjSh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjOubah}(h]h]h]h ]h"]refdoch refdomainj]reftypeoption refexplicitrefwarnhNhLCuh$hfh%hFh'Khjubh to binary h-files of the form }hjsbhm)}(h/:file:`H{}{}{
}_{}{}.GLX`h](hH}(hjsh(hh%Nh'NubjT)}(hh]h}(hj{h(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjsubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjsubjT)}(h
h]h
}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjsubh_}(hjsh(hh%Nh'NubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjsubjT)}(hh]h}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjsubh.GLX}(hjsh(hh%Nh'Nubeh}(h]h]fileah]h ]h"]rolefileuh$hlhjubh (e.g., MIT combined h-files). For example, to use local processing in combination with MIT global h-files previously downloaded onto your system, the command to generate a 30-day time series for experiment “emed” would be}(hjh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh literal_block)}(hA$ sh_glred -expt emed -s 2009 121 2009 150 -net MIT -opt H LC G Th]hA$ sh_glred -expt emed -s 2009 121 2009 150 -net MIT -opt H LC G T}hjsbah}(h]h]h]h ]h"] xml:spacepreserveforcelanguageconsolehighlight_args}uh$jh%hFh'KhhIh(hubh])}(hXSince :program:`sh_glred` will look for all binary h-files in the :file:`glbf/` directory, created previously when you generated the time series, you can leave out the :option:`-net`, :option:`H`, and :option:`LA` options when combining the files. This feature is particularly useful if the days you want to aggregate are not continuous (e.g. from a survey) and you have used the :option:`-local` option in the :program:`sh_glred` command that generated the time series.h](hSince }(hjh(hh%Nh'Nubh)}(h:program:`sh_glred`h]hsh_glred}(hjh(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhjubh) will look for all binary h-files in the }(hjh(hh%Nh'Nubhm)}(h :file:`glbf/`h]hglbf/}(hj h(hh%Nh'Nubah}(h]h]fileah]h ]h"]rolefileuh$hlhjubhY directory, created previously when you generated the time series, you can leave out the }(hjh(hh%Nh'Nubhg)}(h:option:`-net`h]hm)}(hj$h]h-net}(hj&h(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhj"ubah}(h]h]h]h ]h"]refdoch refdomainj0reftypeoption refexplicitrefwarnhNh-netuh$hfh%hFh'Khjubh, }(hjh(hh%Nh'Nubhg)}(h :option:`H`h]hm)}(hjHh]hH}(hjJh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjFubah}(h]h]h]h ]h"]refdoch refdomainjTreftypeoption refexplicitrefwarnhNhHuh$hfh%hFh'Khjubh, and }(hjh(hh%Nh'Nubhg)}(h :option:`LA`h]hm)}(hjlh]hLA}(hjnh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjjubah}(h]h]h]h ]h"]refdoch refdomainjxreftypeoption refexplicitrefwarnhNhLAuh$hfh%hFh'Khjubh options when combining the files. This feature is particularly useful if the days you want to aggregate are not continuous (e.g. from a survey) and you have used the }(hjh(hh%Nh'Nubhg)}(h:option:`-local`h]hm)}(hjh]h-local}(hjh(hh%Nh'Nubah}(h]h](hxstd std-optioneh]h ]h"]uh$hlhjubah}(h]h]h]h ]h"]refdoch refdomainjreftypeoption refexplicitrefwarnhNh-localuh$hfh%hFh'Khjubh option in the }(hjh(hh%Nh'Nubh)}(h:program:`sh_glred`h]hsh_glred}(hjh(hh%Nh'Nubah}(h]h]hah]h ]h"]uh$hhjubh( command that generated the time series.}(hjh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubh])}(hXEIf you are combining data over a span that is long enough that the error in the *a priori* velocity of any of your sites is large enough to cause an error in position, you should estimate velocities in the combination; however, it's generally better to make the span of the combination short enough that this is not an issue.h](hPIf you are combining data over a span that is long enough that the error in the }(hjh(hh%Nh'NubjT)}(h *a priori*h]ha priori}(hjh(hh%Nh'Nubah}(h]h]h]h ]h"]uh$jShjubh velocity of any of your sites is large enough to cause an error in position, you should estimate velocities in the combination; however, it’s generally better to make the span of the combination short enough that this is not an issue.}(hjh(hh%Nh'Nubeh}(h]h]h]h ]h"]uh$h\h%hFh'KhhIh(hubeh}(h](combining-h-fileshEeh]h](combining h-filesintro_prod_combineeh ]h"]uh$hGhhh(hh%hFh'Kexpect_referenced_by_name}jh:sexpect_referenced_by_id}hEh:subeh}(h]h]h]h ]h"]sourcehFtranslation_progress}(totalK translatedKuuh$hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(outputNhLN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehF _destinationN _config_files]file_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hh h5h)usubstitution_names}(relhdateh5urefnames}refids}hE]h:asnameids}(jhEjju nametypes}(jjuh}(hEhIjhIu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages]h system_message)}(hhh]h])}(hhh]h8Hyperlink target "intro-prod-combine" is not referenced.}hjsbah}(h]h]h]h ]h"]uh$h\hjubah}(h]h]h]h ]h"]levelKtypeINFOsourcehFlineKuh$juba transformerN include_log] decorationNh(hub.