Fixes earthmodel resource_id.