compass.landice.tests.ismip6_forcing.create_mapfile.create_scrip_from_latlon¶
- compass.landice.tests.ismip6_forcing.create_mapfile.create_scrip_from_latlon(source_grid_file, source_grid_scripfile)[source]¶
Create a scripfile based on the lat/lon coordinates of a source dataset.
This function is needed, c.f. the scrip utility in the MPAS-Tools repo (i.e. create_SCRIP_file_from_planar_rectangular_grid.py), when a dataset does not have x/y coordinates to generate the scrip file from. This is the case for the atmospheric forcing datasets from ISMIP6 and for RACMO products.