Skip to content

Commit

Permalink
Fix file_type
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Mar 29, 2022
1 parent 2259ecc commit 6da168b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data_pipeline_api/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ def resolve_write(
file_type = "netcdf"
# Get metadata from config
write = handle["yaml"]["write"][index]
if write["file_type"]:
file_type = write["file_type"]
write_data_product = write["data_product"]
write_version = write["use"]["version"]
description = write["description"]
Expand Down

0 comments on commit 6da168b

Please sign in to comment.