A problem about the values of Fdx,Fdy,Fdz

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
wjy
Posts: 9
Joined: Mon May 02, 2011 6:20 pm
Location: Xiamen university

A problem about the values of Fdx,Fdy,Fdz

#1 Unread post by wjy »

In the file of float.in,what the value of Fdx,Fdy,Fdz should be made? and why? Thank you!!!!!!!!!!

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

Re: A problem about the values of Fdx,Fdy,Fdz

#2 Unread post by kate »

Only one can be different from zero at a time, including Fdt. They are for a group of floats in a line - in i,j,z, or time. Try it, you'll see.

wjy
Posts: 9
Joined: Mon May 02, 2011 6:20 pm
Location: Xiamen university

Re: A problem about the values of Fdx,Fdy,Fdz

#3 Unread post by wjy »

Thanks for you advice,i fllow what you have said.But,in the destination file of
destination file, there is no value of XGRID,YGRID and ZGRID.Can you tell me the mistake i had made? thank you.

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

Re: A problem about the values of Fdx,Fdy,Fdz

#4 Unread post by kate »

Is it running at all? Giving an error message? I don't know why you'd end up with a floats file and no float positions.

wjy
Posts: 9
Joined: Mon May 02, 2011 6:20 pm
Location: Xiamen university

Re: A problem about the values of Fdx,Fdy,Fdz

#5 Unread post by wjy »

It's running all the time with no error,but there is no value in the destination file.
this is my setting in float.in :
Lfloats == T
FRREC == 0
NFLOATS == 5

POS = G, C, T, N, Ft0, Fx0, Fy0, Fz0, Fdt, Fdx, Fdy, Fdz

1 1 1 5 0.0d0 118.039d0 24.432d0 16.0d0 0.d0 0.05d0 0.d0 0.d0
Is there some probrem?
I want to know if the codes of wrt_floats.F, and other *.f90 about float need some modification.
Would you give me some advice? Thank you.

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

Re: A problem about the values of Fdx,Fdy,Fdz

#6 Unread post by kate »

Did you #define FLOATS? Are you getting a floats file at all? It should be a separate output NetCDF file.

wjy
Posts: 9
Joined: Mon May 02, 2011 6:20 pm
Location: Xiamen university

Re: A problem about the values of Fdx,Fdy,Fdz

#7 Unread post by wjy »

I have #define float in *.h,and the roms creat the output NetCDF file.
I use ferret to see the result in output NetCDF file.
but the result is:
yes? list/l=6666 LON
VARIABLE : longitude of floats trajectories (degree_east)
DATA SET : ROMS Study In Taiwan Strait(Salt
FILENAME : ocean_flt.nc
SUBSET : 5 points (X)
TIME : 05-JUN-2000 15:05
1 / 1:....
2 / 2:....
3 / 3:....
4 / 4:....
5 / 5:....
"l" is timestep.
when l=1,the result is:
yes? list/l=1 LON
VARIABLE : longitude of floats trajectories (degree_east)
DATA SET : ROMS Study In Taiwan Strait(Salt
FILENAME : ocean_flt.nc
SUBSET : 5 points (X)
TIME : 01-JUN-2000 00:00
1 / 1: 0.0000
2 / 2: 0.0000
3 / 3: 0.0000
4 / 4: 0.0000
5 / 5: 0.0000

Post Reply