ship_mapper.make_info_from_GridData¶
-
ship_mapper.make_info_from_GridData(calling_file='.', run_name=None, region=None, basemap=None, grid_type='generic', data_name=None)[source]¶ Makes
infoobject and populates its metadata from.basemapand.gridfilesKeyword Arguments: - calling_file (str) – Usually this is
__file__, which returns the full path and name of the calling file - run_name (str) – Usually the name of the script file
- region (str) – Name of region
- basemap (str) – Name of basemap
- grid_type (str) – If
'generic'grid is located in thegriddirectory. If'one-off'grid is located in the project directory - data_name (str) – Name of dataset (e.g.
AIS_CCGorVMS_DFO)
Returns: Info object
Return type: - calling_file (str) – Usually this is