WC13/RBL4DVAR PROBLEM

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
rosalba
Posts: 3
Joined: Thu Jan 07, 2021 4:01 pm
Location: Università degli studi di Napoli "Federico II"- Co

WC13/RBL4DVAR PROBLEM

#1 Unread post by rosalba »

Dear ROMS users,

after compiling build_roms.csh in the test/WC13/RBL4DVAR directory, I get the error below

rbl4dvar.f90(542): error #6404: This name does not have a type, and must have an explicit type. [ISFSUR]
IF (balance(isFsur)) THEN
--------------------^
compilation aborted for rbl4dvar.f90 (code 1)
make: *** [/homes/DMA/CCRLB93M/mydir/Build_roms/rbl4dvar.o] Error 1

Could you help me to fix this problem?

Thank you very much!

User avatar
arango
Site Admin
Posts: 1368
Joined: Wed Feb 26, 2003 4:41 pm
Location: DMCS, Rutgers University
Contact:

Re: WC13/RBL4DVAR PROBLEM

#2 Unread post by arango »

Yes, this was fixed but that version is not ready for release. You have to wait. This is simply solved by deactivating the BALANCE_OPERATOR C-preprocessing option. We don't activate that option in the tutorials. The balance operator is an advanced feature for experienced users that know their application well because the bathymetry affects the level-of-no-motion that is needed in the inverse problem.

rosalba
Posts: 3
Joined: Thu Jan 07, 2021 4:01 pm
Location: Università degli studi di Napoli "Federico II"- Co

Re: WC13/RBL4DVAR PROBLEM

#3 Unread post by rosalba »

Thank you!

rosalba
Posts: 3
Joined: Thu Jan 07, 2021 4:01 pm
Location: Università degli studi di Napoli "Federico II"- Co

Re: WC13/RBL4DVAR PROBLEM

#4 Unread post by rosalba »

Thank you again for your response.
Now I’m considering RBL4D-Var with RPCG subject to the weak constraint. I edited build_roms.csh and chose the following cpp options
setenv MY_CPP_FLAGS "${MY_CPP_FLAGS} -DRBL4DVAR"
setenv MY_CPP_FLAGS "${MY_CPP_FLAGS} -DRPCG"
setenv MY_CPP_FLAGS "${MY_CPP_FLAGS} -DTIME_CONV”.
I edited roms_wc13_2hours.in to indicate that the weak constraint will be used (i.e. NADJ =48 ).
Then, I run WC13/RBL4DVAR subject to the weak constraint and I get the error below:


TIME_CORR - error while writing variable: ubar at time record = 5
into NetCDF file: /homes/DMA/CCRLB93M/ex4_RBL4DVAR_weak/ex1_2hours/wc13_tlf.nc
Found Error: 03 Line: 617 Source: ROMS/Utility/convolve.F, error_covariance
Found Error: 03 Line: 1218 Source: ROMS/Drivers/rbl4dvar.F, increment
Found Error: 03 Line: 305 Source: ROMS/Drivers/rbl4dvar_ocean.h, ROMS_run
Found Error: 03 Line: 119 Source: ROMS/Utility/stats_modobs.F


Could you give me some advice ?

Thank you very much!

carlosag
Posts: 24
Joined: Thu Sep 30, 2021 12:08 pm
Location: University of Iceland

Re: WC13/RBL4DVAR PROBLEM

#5 Unread post by carlosag »

Hi there,
did you manage to fix this issue? I am running into the same problem.
All best and thank you

Post Reply