compass.ocean.tests.utility.extrap_woa.RemapTopography.constrain_resources

RemapTopography.constrain_resources(available_resources)[source]

Constrain cpus_per_task and ntasks based on the number of cores available to this step

Parameters:

available_resources (dict) – The total number of cores available to the step