!-------------------------------------- LICENCE BEGIN ------------------------------------ !Environment Canada - Atmospheric Science and Technology License/Disclaimer, ! version 3; Last Modified: May 7, 2008. !This is free but copyrighted software; you can use/redistribute/modify it under the terms !of the Environment Canada - Atmospheric Science and Technology License/Disclaimer !version 3 or (at your option) any later version that should be found at: !http://collaboration.cmc.ec.gc.ca/science/rpn.comm/license.html ! !This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; !without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. !See the above mentioned License/Disclaimer for more details. !You should have received a copy of the License/Disclaimer along with this software; !if not, you can write to: EC-RPN COMM Group, 2121 TransCanada, suite 500, Dorval (Quebec), !CANADA, H9P 1J3; or send e-mail to service.rpn@ec.gc.ca !-------------------------------------- LICENCE END --------------------------------------subroutine r_rawfstw (rs,nx,ny,varname,stepno,dt,date0,out_file) 2 implicit none * integer nx,ny,stepno,dt,date0 real rs(nx,ny) character* (*) varname,out_file * integer fnom,fclos integer id_unit,err,ip2 * id_unit=0 err = fnom (id_unit, out_file, 'rnd', 0) call fstouv (id_unit,'rnd') * ip2 =(stepno*dt)/3600 call fstecr (rs,rs,-32,id_unit, date0, int(dt), stepno, nx,ny,1, $ 0,ip2,0,'P',varname,'rslt2','X',1,1,1,1,1,.false.) c call fstecr (rs,rs,-32,id_unit, dateo, int(dt), stepno, nx,ny,1, c $ 0,ip2,0,'P',varname,'rslt2','Y',1001,1002,1003,0, c $ 1,.false.) call fstfrm (id_unit) err = fclos (id_unit) * return end