TODO: Need to add assertions to check the dimension of the column names and also the values. Somehow need to parse in the metadata from the web and get the field values in an automated manner.

get_transform_noaa_swdi(fpath, new_colnames)

Arguments

fpath

(character) : The path to the shapefile we want to transform

new_colnames

(character) : New list of colnames we want to set for our transformed output shapefile. If NULL the column names will get converted to lower case and spaces replaced by underscores via the janitor package

Value

(sf object) : transformed shapefile