Atmospheric forcing for child grid

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
ashbre
Posts: 21
Joined: Tue Apr 28, 2020 3:08 pm
Location: Florida Atlantic University

Atmospheric forcing for child grid

#1 Unread post by ashbre »

Hi there,

I am currently trying to set up a nested grid (1 refinement grid). The atmospheric forcing files I provide fit the parent grid exactly (and works).

How do I get the forcing files to work directly with the refinement grid without providing a new file (i.e. so that ROMS does the interpolation for me).

The error I get is a dimension mismatch:

NETCDF_CHECK_DIM - inconsistent size of dimension: xi_u 460 301

All the best,
Ash

hpftcb
Posts: 30
Joined: Wed Apr 13, 2016 7:37 pm
Location: OceanPact

Re: Atmospheric forcing for child grid

#2 Unread post by hpftcb »

Hi Ash,

From the error it does not seem related to the forcing file, as ROMS performs the interpolation internally. Have you checked if the dimensions in the .in file from the son grid are correct?

Regards

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Atmospheric forcing for child grid

#3 Unread post by kate »

It could be that ROMS only checks once when deciding whether to remap or not. The check happens at line 226 of nf_fread2d.F.

ashbre
Posts: 21
Joined: Tue Apr 28, 2020 3:08 pm
Location: Florida Atlantic University

Re: Atmospheric forcing for child grid

#4 Unread post by ashbre »

Right I see - I tried forcing it to true, but still couldn't get past the error. It's easy enough to do the interpolation myself anyhow.

Thanks for your help!
Ash

Post Reply