about bry_time Question

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

about bry_time Question

#1 Unread post by pip39 »

Dear all


bry_time Unit is day
How to change into second?



nc{'bry_time'} = ncdouble('bry_time'); %% 51 elements.
nc{'bry_time'}.long_name = ncchar(''time for temperature climatology'');
nc{'bry_time'}.units = ncchar(''day'');
nc{'bry_time'}.cycle_length = ncdouble(0.05);

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

Re: about bry_time Question

#2 Unread post by kate »

How did you create your boundary file? Edit that script to set units to "sec" or use ncatted from the nco package.

pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

Re: about bry_time Question

#3 Unread post by pip39 »

kate wrote:How did you create your boundary file? Edit that script to set units to "sec" or use ncatted from the nco package.
Does only Change this one?


If my bry_time total is 1 hour

Does ocean.in need to be Change?


! Nudging/relaxation time scales, inverse scales will be computed
! internally, [1:Ngrids].

TNUDG == 0.125d0 ! days
ZNUDG == 0.001d0 ! days
M2NUDG == 0.04 d0 ! days
M3NUDG == 0.04 d0 ! days

1hour/24hour=0.04 days



Thank you your reply

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

Re: about bry_time Question

#4 Unread post by kate »

I think ROMS checks the units, but the safest thing to do is to watch what it reports in the output from GET_NGFLD. It gives times there, as seen by ROMS.

pip39
Posts: 11
Joined: Mon Sep 07, 2009 8:07 pm
Location: nsysu

Re: about bry_time Question

#5 Unread post by pip39 »

my bry_time unit is change be "sec" :D



bry_time = 0:60:3600 sec
DSTART = 0.0d0 ! days

! Time-Stepping parameters.

NTIMES == 28800
DT == 12.0d0
NDTFAST == 20.0d0

my 3D v-momentum southern boundary condition have velocity m/s

but ocean_his.nc u and v is zero :(



KINETIC_ENRG is zero

No flow

I do'not know

what happen?


Give me advice please!!!




STEP Day HH:MM:SS KINETIC_ENRG POTEN_ENRG TOTAL_ENRG NET_VOLUME

0 0 00:00:00 3.913883E-04 1.468008E+03 1.468008E+03 3.093797E+11
DEF_HIS - creating history file: ocean_his.nc
WRT_HIS - wrote history fields (Index=1,1) into time record = 0000001


GET_NGFLD - 3D v-momentum southern boundary condition, t = 0 00:01:00
(Rec=0002, Index=2, File: roms_bry.nc)
(Tmin= 0.0000 Tmax= 0.0410)
(Min = 5.00000000E-01 Max = 5.00000000E-01)

1 0 00:00:12 2.224004E-34 1.468008E+03 1.468008E+03 3.093797E+11
2 0 00:00:24 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
3 0 00:00:36 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
4 0 00:00:48 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
5 0 00:01:00 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11


GET_NGFLD - 3D v-momentum southern boundary condition, t = 0 00:02:01
(Rec=0003, Index=1, File: roms_bry.nc)
(Tmin= 0.0000 Tmax= 0.0410)
(Min = 5.00000000E-01 Max = 5.00000000E-01)

6 0 00:01:12 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
7 0 00:01:24 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
8 0 00:01:36 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
9 0 00:01:48 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
10 0 00:02:00 0.000000E+00 1.468008E+03 1.468008E+03 3.093797E+11
Attachments
estuary_test.h
(2.41 KiB) Downloaded 245 times
tt.txt
(104.6 KiB) Downloaded 246 times

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

Re: about bry_time Question

#6 Unread post by kate »

Have you looked at your boundary condition file with say ncview? I'd start there.

Post Reply