the error in running d_initial.m

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
shiyf
Posts: 52
Joined: Mon Sep 09, 2013 11:09 pm
Location: OUC

the error in running d_initial.m

#1 Unread post by shiyf »

Now, I try to create my application.when i create initial filed using d_intial.m, there are some errors, I suspect that some of the parameters set wrong,
the GRDname is my grid file name(seagrid.nc)?
the OAname is my temp and salt file name(tempsalt.nc)?
and I do not know what is according to set the S.Lm and S.Mm?

Perhaps the question is simple.But I still feel overwhelmed.
Could you give me some help? Thank you very much!
Attachments
tempsalt.nc
(2.95 MiB) Downloaded 230 times
seagrid.nc
(128.95 KiB) Downloaded 217 times

shiyf
Posts: 52
Joined: Mon Sep 09, 2013 11:09 pm
Location: OUC

Re: the error in running d_initial.m

#2 Unread post by shiyf »

shiyf wrote:Now, I try to create my application.when i create initial filed using d_intial.m, there are some errors, I suspect that some of the parameters set wrong,
the GRDname is my grid file name(seagrid.nc)?
the OAname is my temp and salt file name(tempsalt.nc)?
and I do not know what is according to set the S.Lm and S.Mm?

Perhaps the question is simple.But I still feel overwhelmed.
Could you give me some help? Thank you very much!
When I run the d_initial.m, the error is :

Error using +
Matrix dimensions must agree.

Error in set_depth (line 239)
z(:,:,k)=zetar+(zeta+hr).*z0;

Post Reply