compass.landice.tests.ismip6_forcing.atmosphere.create_mapfile_smb.create_atm_scrip

compass.landice.tests.ismip6_forcing.atmosphere.create_mapfile_smb.create_atm_scrip(source_grid_file, source_grid_scripfile)[source]

create a scripfile for the ismip6 atmospheric forcing data. Note: the atmospheric forcing data do not have ‘x’ and ‘y’ coordinates and only have dimensions of them. This function uses ‘lat’ and ‘lon’ coordinates to generate a scripfile.

Parameters:
  • source_grid_file (str) – input smb grid file

  • source_grid_scripfile (str) – output scrip file of the input smb data