Skip to content

Commit

Permalink
Add use_local_files option to making FileInfo class
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-hampton committed Nov 25, 2024
1 parent f2c16de commit 3365403
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/ncas_amof_netcdf_template/create_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,11 @@ def make_product_netcdf(
date = dt.datetime.now(dt.timezone.utc).strftime("%Y%m%d")

product_file_info = FileInfo(
instrument_name, product, deployment_mode=deployment_loc, tag=tag
instrument_name,
product,
deployment_mode=deployment_loc,
tag=tag,
use_local_files=use_local_files,
)
product_file_info.get_common_info()
product_file_info.get_deployment_info()
Expand Down Expand Up @@ -1004,7 +1008,11 @@ def main(

for product in products:
instrument_file_info = FileInfo(
instrument, product, deployment_mode=loc, tag=tag
instrument,
product,
deployment_mode=loc,
tag=tag,
use_local_files=use_local_files,
)
instrument_file_info.get_product_info()
instrument_file_info.get_deployment_info()
Expand Down

0 comments on commit 3365403

Please sign in to comment.