Skip to content

Commit

Permalink
Added conditionals to check for missing ancillary files in ISO xml te…
Browse files Browse the repository at this point in the history
…mplate for DISP-S1
  • Loading branch information
Scott Collins committed Apr 26, 2024
1 parent 7dc4dfe commit 785b745
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,7 @@
</gmd:description>
</gmd:LI_Source>
</gmd:source>
{%- if run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.amplitude_dispersion_files is not none %}
{%- for amplitude_dispersion_file in run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.amplitude_dispersion_files %}
<gmd:source>
<gmd:LI_Source>
Expand All @@ -985,6 +986,8 @@
</gmd:LI_Source>
</gmd:source>
{%- endfor %}
{%- endif %}
{%- if run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.amplitude_mean_files is not none %}
{%- for amplitude_mean_file in run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.amplitude_mean_files %}
<gmd:source>
<gmd:LI_Source>
Expand All @@ -994,6 +997,8 @@
</gmd:LI_Source>
</gmd:source>
{%- endfor %}
{%- endif %}
{%- if run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.static_layers_files is not none %}
{%- for static_layers_file in run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.static_layers_files %}
<gmd:source>
<gmd:LI_Source>
Expand All @@ -1003,6 +1008,8 @@
</gmd:LI_Source>
</gmd:source>
{%- endfor %}
{%- endif %}
{%- if run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.ionosphere_files is not none %}
{%- for ionosphere_file in run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.ionosphere_files %}
<gmd:source>
<gmd:LI_Source>
Expand All @@ -1012,6 +1019,8 @@
</gmd:LI_Source>
</gmd:source>
{%- endfor %}
{%- endif %}
{%- if run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.troposphere_files is not none %}
{%- for troposphere_file in run_config.Groups.PGE.DynamicAncillaryFilesGroup.AncillaryFileMap.troposphere_files %}
<gmd:source>
<gmd:LI_Source>
Expand All @@ -1021,6 +1030,7 @@
</gmd:LI_Source>
</gmd:source>
{%- endfor %}
{%- endif %}
</gmd:LI_Lineage>
</gmd:lineage>
</gmd:DQ_DataQuality>
Expand Down

0 comments on commit 785b745

Please sign in to comment.