# CCTM ERROR about OCEAN FILE

**URL:** <https://forum.cmascenter.org/t/cctm-error-about-ocean-file/5219>\
**Category:** CMAQ\
**Created:** [September 15, 2024, 6:18am UTC](https://forum.cmascenter.org/t/cctm-error-about-ocean-file/5219 "2024-09-15T06:18:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hczuo](https://avatars.discourse-cdn.com/v4/letter/h/839c29/32.png) [@hczuo](https://forum.cmascenter.org/u/hczuo)\
**Post date:** [September 15, 2024, 6:18am UTC](https://forum.cmascenter.org/t/cctm-error-about-ocean-file/5219/1 "2024-09-15T06:18:42Z")

</div>

```auto
17459 *** ERROR ABORT in subroutine INIT_MET on PE 000
17460 Error interpolating variable SURF from OCEAN_1
17461 Date and time 0:00:00 Oct. 8, 2018 (2018281:000000)

```

Hey,guys! I generate the “right” (seems that) ocean file to input the CCTM SZpath. But it shows the error above,  
Here is my ocean file:

 ![795c620c03ffcdbf0a6524eb89c0ba2](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/1/19f0c81a93c0ffddbb8dae9a2dd0c93872660a4d.png)  
Can someone helps me to figure out this? Thanks a looot.

---

<div class="post-metadata">

**Author:** ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)\
**Post date:** [September 15, 2024, 9:51pm UTC](https://forum.cmascenter.org/t/cctm-error-about-ocean-file/5219/2 "2024-09-15T21:51:15Z")

</div>

Based on the screenshot you posted, your OCEAN file contains only the OPEN variable while (at least) two variables, i.e. OPEN and SURF, are required. CCTM exits when it cannot find the required SURF variable.

Depending on the model version and mechanism you are using, additional variables (DMS, CHLO) may also be required. Please see [this tutorial](https://github.com/USEPA/CMAQ/blob/main/DOCS/Users_Guide/Tutorials/CMAQ_UG_tutorial_oceanfile.md) for further information.

---

<div class="post-metadata">

**Author:** ![hczuo](https://avatars.discourse-cdn.com/v4/letter/h/839c29/32.png) [@hczuo](https://forum.cmascenter.org/u/hczuo)\
**Post date:** [September 16, 2024, 8:30am UTC](https://forum.cmascenter.org/t/cctm-error-about-ocean-file/5219/3 "2024-09-16T08:30:54Z")

</div>

It works,. Thank you so much!
