The invention relates to the technical field of meteorological and ocean numerical forecasting, and aims to solve the problems of strong manual dependence, poor timeliness, high error risk and
low resource utilization rate in
coupling operation of a WRF
atmosphere model and an ROMS ocean model. The method comprises the following steps of: storing an initial file into a date catalogue which is dynamically generated according to a YYYMMDD format after the initial file is subjected to integrity
verification; the timed task checks nc.lock / nc.tone files every X minutes, a lock starting model is created when no lock exists and an initial file exists, and an ROMS needs to confirm nc.tone of a WRF result
directory first; automatic exception
processing is carried out when the model is overtime, and after completion of the automatic exception
processing, a Done is created, a lock is deleted, resources are released, and computational nodes are dynamically allocated. According to the method, automatic scheduling is achieved through double-file marking, manual operation is shortened to be within one minute, model connection
delay is shortened to be within five minutes, the
failure rate is reduced, the
resource utilization rate is improved, and a reliable scheme is provided for model business operation.