Ask Your Question
0

BioeBus and Psource, READ_INP ERROR

asked 2022-03-22 17:30:34 +0100

Daniel gravatar image

Hi,

i've been working on a simulation with BioeBus model and variable rivers using psource_ncfile , but the problem is that i don't know how to set up tracers from BioeBus in the croco.in.

i just want to the rivers contributes with constant temperature and salinity, for example, when i run up the model without biology, the simulation work it, but if i add BioeBus to the simulation, it shows me this error:

Runoff Data File: /home/orpa/CROCO/Chile_central/CROCO_FILES/croco_test3.nc

       5  Number of point sources

READ_INP ERROR while reading block with keyword 'psource_ncfile'.

READ_INP ERROR: A total of 1 configuration errors discovered.

so, if someone knows how to fix it, please help me :D

edit retag flag offensive close merge delete

7 answers

Sort by » oldest newest most voted
0

answered 2022-03-30 14:17:14 +0100

GildasC gravatar image

Hi,

Could you detail a few points in order to help you :

  • could you give us the croco version you use. I really recommend v1.2.1

  • could you send the cppdefs.h and param.h, I recommend to start from the one in v1.2.1

  • could you send us the croco.in you use (again I recommend to start from the one in v1.2.1)

  • could you send the ncdump -h of the bry file.

Gildas

edit flag offensive delete link more
0

answered 2022-03-29 19:29:40 +0100

Daniel gravatar image

this is the file .out

C:\fakepath\croco_Y2010M2.txt

edit flag offensive delete link more

Comments

Weird... what is missing are the time vectors for those variables, not the variables themselves. Can you post the ncdump -h of your croco_bry.nc file?

andres gravatar imageandres ( 2022-03-29 20:03:53 +0100 )edit
0

answered 2022-03-28 18:30:11 +0100

Daniel gravatar image

i did it, i got a little problem,in this case.

Apparently the bry file doesn't have boundery conditions to 4 variables sdet, ldet, don and n2o, but it's strange becouse i used make_bry_bioebus. i only found a rutine for n2o (make_n2o_bioebus.m).

GET_BRY_BIO - unable to find variable: sdet_time in input NetCDF file: croco_bry_bio_2010-2019.nc -> analytical value

GET_BRY_BIO - unable to find variable: ldet_time in input NetCDF file: croco_bry_bio_2010-2019.nc -> analytical value

GET_BRY_BIO - unable to find variable: don_time in input NetCDF file: croco_bry_bio_2010-2019.nc -> analytical value

GET_BRY_BIO - unable to find variable: n2o_time in input NetCDF file: croco_bry_bio_2010-2019.nc -> analytical value

  GET_BRY_BIO    -- Read all boundary data         for time =    3684.    
  GET_BRY_BIO    -- Read all boundary data         for time =    3712.    
  GET_BRY_BIO    -- Read all boundary data         for time =    3684.

Month Y2010M2 did not work

edit flag offensive delete link more

Comments

Please post the croco_Y2010M2.out file. There is a better description of the error there...

andres gravatar imageandres ( 2022-03-28 20:55:32 +0100 )edit
0

answered 2022-03-23 19:47:04 +0100

andres gravatar image

Try running the code compiled with psource first, not psource_ncfile to check on the biogeochemistry.

Use constant values for the discharge and the biogeochemical variables

edit flag offensive delete link more
0

answered 2022-03-22 20:34:07 +0100

andres gravatar image

Try using that file without BIOEBUS.

If it fails it might be because the name of the file (path+filename) is too long. Use a relative path, not an aboslute path. Or put the file in the same directory the croco.in and the croco executable is.

Once it runs ok, try adding BIOEBUS. You might need then to add the biogeochemical variables to the file (not sure)

edit flag offensive delete link more

Comments

previously, i run it without BioeBus (only physics and Psource) and i got 10 years of simulation, but if i add the biological model, it didn't works. i'm not sure if i have to add biological variables to file, because i don't want the sources contribute biological components to the sea.

Daniel gravatar imageDaniel ( 2022-03-23 19:16:40 +0100 )edit
0

answered 2022-03-22 20:27:23 +0100

Daniel gravatar image
edit flag offensive delete link more
0

answered 2022-03-22 18:09:02 +0100

andres gravatar image

Please post your croco.in file

What is the structure of this runoff file? Can you show the result from

ncdump -h croco_test3.nc ?

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2022-03-22 17:30:34 +0100

Seen: 204 times

Last updated: Mar 30 '22