# Cdo remapbil on ACCESS-OM2

**URL:** <https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331>\
**Category:** Technical\
**Created:** [20 March 2025 00:12 UTC](https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331 "2025-03-20T00:12:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LaurieM](https://avatars.discourse-cdn.com/v4/letter/l/ccd318/32.png) [@LaurieM](https://forum.access-hive.org.au/u/LaurieM)\
**Post date:** [20 March 2025 00:12 UTC](https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331/1 "2025-03-20T00:12:13Z")

</div>

I use the cdo remapbil function to regrid the ocean outputs from the ACCESS-ESM1.5 without problem, but for some reason, it does not work on the ACCESS-OM2-025 outputs. I do not get any error message, but the grid is still not correct in the Arctic.  
If anyone has some quick work around, please let me know… otherwise i will have to learn to use Python.

---

<div class="post-metadata">

**Author:** ![dkhutch](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/dkhutch/32/510_2.png) [@dkhutch](https://forum.access-hive.org.au/u/dkhutch)\
**Post date:** [20 March 2025 03:29 UTC](https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331/2 "2025-03-20T03:29:20Z")

</div>

Hi @LaurieM,  
I was running into some issues like this with ACCESS-OM2-1deg, which was caused by the fact the the geolon\_t and geolat\_t variables are not in the same output file as the other ocean variables. I have gotten around this by splicing together the coordinate variables together with the variable I want to interpolate.

I would use something like the following:  
`ncks -A -v geolon_t,geolat_t <file1> <file2>`

This will append the variables ` geolon_t,geolat_t` from file1 to file2. If you’d like to point me to an example on Gadi I could have a look.

Regards,  
David

---

<div class="post-metadata">

**Author:** ![Aidan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.access-hive.org.au/aidan/32/42_2.png) [@Aidan](https://forum.access-hive.org.au/u/Aidan)\
**Post date:** [20 March 2025 03:36 UTC](https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331/3 "2025-03-20T03:36:50Z")

</div>

> [@dkhutch](#):
>
> I was running into some issues like this with ACCESS-OM2-1deg, which was caused by the fact the the geolon\_t and geolat\_t variables are not in the same output file as the other ocean variables.

I think @dkhutch is right, and you can use [`cdo griddes`](https://code.mpimet.mpg.de/projects/cdo/embedded/index.html#x1-880002.1.7) to get information on what `cdo` thinks the grid is.

This can also be useful after you’ve done something such as what David is suggesting to confirm it is picking up the correct grid.

---

<div class="post-metadata">

**Author:** ![LaurieM](https://avatars.discourse-cdn.com/v4/letter/l/ccd318/32.png) [@LaurieM](https://forum.access-hive.org.au/u/LaurieM)\
**Post date:** [20 March 2025 10:34 UTC](https://forum.access-hive.org.au/t/cdo-remapbil-on-access-om2/4331/4 "2025-03-20T10:34:36Z")

</div>

I think it works! Thanks so much David and Aidan!
