How add ice

Discussion about modeling ice with ROMS

Moderators: arango, robertson

Post Reply
Message
Author
javadbabagoli
Posts: 57
Joined: Mon Jan 27, 2020 5:55 pm
Location: university of Tehran

How add ice

#1 Post by javadbabagoli »

Dear users
I try to run ROMS in my domain. I run ROMS with rivers, fluxes, and also the initial conditions in the upwelling test case. Now I try to add ice into the model but I do not understand how to do it although I review this forum. In this case, I have some questions. Firstly, ROMS have this option or we should compile it with another model? Secondly, how to add or download the source code as I do not see anything about ice in my ROMS trunk. Thirdly, the ice model needs extra fluxes or can work with a forcing file.
Please note that in my domain the thickness of ice is under 60 cm and water depth is about under 20 m from December to February

Thank you so much for your cooperation

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

Re: How add ice

#2 Post by kate »

There is no ice in the ROMS trunk code. There is ice in my code on github, also in COAWST from John Warner. There is also ice in the metroms code on github, where they couple to a more complete ice model (CICE).

As for forcing, if you are reading winds, air temp, etc. and using BULK_FLUXES, you are set for the ice. The ice wants to compute its own bulk fluxes where there is ice.

javadbabagoli
Posts: 57
Joined: Mon Jan 27, 2020 5:55 pm
Location: university of Tehran

Re: How add ice

#3 Post by javadbabagoli »

Dear kate
Thank you for your response
How can I add your branch in my Roms through svn ? Then How can I add the files in my test case?i I am a little confused.
Please explain more about it

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

Re: How add ice

#4 Post by kate »

My code is at: https://github.com/kshedstrom/roms. I'm not now finding an svn option, but you can download a tarball of it from that site. It has been over ten years since I've used svn...

javadbabagoli
Posts: 57
Joined: Mon Jan 27, 2020 5:55 pm
Location: university of Tehran

Re: How add ice

#5 Post by javadbabagoli »

You mean I should copy and paste it from the site(!). is it correct as we install roms from command on the terminal? I have downloaded but there are many files one of them is Sea ice. How to use it?

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

Re: How add ice

#6 Post by kate »

You should read the manual. It has sections on the ice and also on how to use git.

javadbabagoli
Posts: 57
Joined: Mon Jan 27, 2020 5:55 pm
Location: university of Tehran

Re: How add ice

#7 Post by javadbabagoli »

Dear kate

I have run without any problem ROMS with the trunk. Based on your suggestion, I have installed your branch in my system BUT I have faced this error when compiling the model.

svn: E155007: '/home/jav/kate/roms' is not a working copy
svn: E155007: '/home/jav/kate/roms' is not a working copy
.
.
.
.
/usr/bin/ld: mod_netcdf.f90:(.text+0x15e45): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
/usr/bin/ld: mod_netcdf.f90:(.text+0x15eb2): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x1609c): undefined reference to `__netcdf_MOD_nf90_inquire_variable'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16179): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x163f3): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16528): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
/usr/bin/ld: mod_netcdf.f90:(.text+0x1667e): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16763): undefined reference to `__netcdf_MOD_nf90_inq_attname'
/usr/bin/ld: mod_netcdf.f90:(.text+0x167c0): undefined reference to `__netcdf_MOD_nf90_inquire_attribute'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16856): undefined reference to `__netcdf_MOD_nf90_get_att_one_eightbytereal'
/usr/bin/ld: mod_netcdf.f90:(.text+0x169a9): undefined reference to `__netcdf_MOD_nf90_get_att_one_fourbyteint'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16b63): undefined reference to `__netcdf_MOD_nf90_strerror'
/usr/bin/ld: mod_netcdf.f90:(.text+0x16d22): undefined reference to `__netcdf_MOD_nf90_get_att_text'
/usr/bin/ld: /home/javadbabagoli/Testt/Build_roms/libMODS.a(mod_netcdf.o): in function `__mod_netcdf_MOD_netcdf_get_dim':
mod_netcdf.f90:(.text+0x182fd): undefined reference to `__netcdf_MOD_nf90_inquire'
/usr/bin/ld: mod_netcdf.f90:(.text+0x183b0): undefined reference to `__netcdf_MOD_nf90_inquire_dimension'
/usr/bin/ld: mod_netcdf.f90:(.text+0x185f0): undefined reference to `__netcdf_MOD_nf90_strerror'

Post Reply