Skip to content

Commit

Permalink
Fix for reading specified map file instead of always reading a defaul…
Browse files Browse the repository at this point in the history
…t one
  • Loading branch information
shinbunya committed Jul 5, 2024
1 parent 703420a commit d691576
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions adda/adda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d691576

Please sign in to comment.