Hi all,
Is there anyway to ask the model to produce 'A' and 'N' output formats in one run? seems we can't....
Regards,
Sue
how to produce ascii and netcdf results simultaneously?
Moderator: Saheedpp
Re: how to produce ascii and netcdf results simultaneously?
Hi Sue,
You will have to create two sets of output data for that. One in ascii and one in netcdf.
Your code van look something like this (off course, adjust it to your own situation)
In Usrdef_Model.f90:
nosetstsr = 2
novarstsr = 6
in Usrdef_Time_Series.f90:
tsrvars%ivarid = (/iarr_zeta,iarr_temp,iarr_uvel,iarr_vvel,iarr_sal,&
& iarr_wphys/)
tsrvars%nrank = (/2,3,3,3,3,3/)
ivarstsr(1:2,:) = (/1,2,3,4,5,6/)
tsr2d(1:2)%defined = .TRUE.
tsr3d(1:2)%defined = .TRUE.
tsrgpars(1:2)%tlims = (/0,nstep,1/)
You will have to create two sets of output data for that. One in ascii and one in netcdf.
Your code van look something like this (off course, adjust it to your own situation)
In Usrdef_Model.f90:
nosetstsr = 2
novarstsr = 6
in Usrdef_Time_Series.f90:
tsrvars%ivarid = (/iarr_zeta,iarr_temp,iarr_uvel,iarr_vvel,iarr_sal,&
& iarr_wphys/)
tsrvars%nrank = (/2,3,3,3,3,3/)
ivarstsr(1:2,:) = (/1,2,3,4,5,6/)
tsr2d(1:2)%defined = .TRUE.
tsr3d(1:2)%defined = .TRUE.
tsrgpars(1:2)%tlims = (/0,nstep,1/)
Re: how to produce ascii and netcdf results simultaneously?
Dear Katrijin,
Didn't you miss something like : tsr2d(2)%form = 'A' and tsr2d(2)%form = 'N'? or we don't need it in version 2.7...?
Thank you,
Sue
Didn't you miss something like : tsr2d(2)%form = 'A' and tsr2d(2)%form = 'N'? or we don't need it in version 2.7...?
Thank you,
Sue
Re: how to produce ascii and netcdf results simultaneously?
Yes, I forgot to add that, oops. But you're addition is good. Thanks! Did it work out well?