From d691576f245f34f6d41a7f80a9b39c8990e1e168 Mon Sep 17 00:00:00 2001 From: Shintaro Bunya Date: Fri, 5 Jul 2024 14:27:21 -0400 Subject: [PATCH] Fix for reading specified map file instead of always reading a default one --- adda/adda.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adda/adda.py b/adda/adda.py index c578280..8cdfa6b 100755 --- a/adda/adda.py +++ b/adda/adda.py @@ -159,9 +159,9 @@ def main(args): ## #Note specifying the map_file REQUIRES the listed file to have a fullpathname - station_file, fort63_compliant = grid_to_station_maps.find_station_list_from_map(gridname=args.gridname, mapfile=args.map_file, datatype='NOAA_STATIONS') - file_land_controls = grid_to_station_maps.find_land_control_points_from_map(gridname=args.gridname, mapfile=args.map_file) - file_water_controls = grid_to_station_maps.find_water_control_points_from_map(gridname=args.gridname, mapfile=args.map_file) + station_file, fort63_compliant = grid_to_station_maps.find_station_list_from_map(gridname=args.gridname, mapfile=map_file, datatype='NOAA_STATIONS') + file_land_controls = grid_to_station_maps.find_land_control_points_from_map(gridname=args.gridname, mapfile=map_file) + file_water_controls = grid_to_station_maps.find_water_control_points_from_map(gridname=args.gridname, mapfile=map_file) rpl = get_adcirc_stations.get_adcirc_stations(source='TDS', product=args.data_product,