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);
about bry_time Question
Re: about bry_time Question
How did you create your boundary file? Edit that script to set units to "sec" or use ncatted from the nco package.
Re: about bry_time Question
Does only Change this one?kate wrote:How did you create your boundary file? Edit that script to set units to "sec" or use ncatted from the nco package.
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
Re: about bry_time Question
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.
Re: about bry_time Question
my bry_time unit is change be "sec"
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
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 247 times
Re: about bry_time Question
Have you looked at your boundary condition file with say ncview? I'd start there.