爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 256|回复: 0

prep-chem-src运行报错

[复制链接]

新浪微博达人勋

发表于 2024-3-12 22:45:24 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
朋友们,运行prep-chem-src时遇到了这个问题

At line 818 of file prep_chem_sources_utils.f90 (unit = 19, file = 'A-T-2018-02-01-000000-g1.gra')
Fortran runtime error: Write exceeds length of DIRECT access record



prep-chem-sources-untils.f90 818行内容如下
subroutine write_bin(iunit,nrec,nx,ny,nvert,nxa,nxb,nya,nyb,rout)
804 implicit none
805 integer, intent(inout) :: nrec
806 integer, intent(in) :: iunit,nx,ny,nvert,nxa,nxb,nya,nyb
807 real, intent(in), dimension(nx,ny,nvert):: rout
808 integer i,j,k
809
810 do k=1,nvert
811   nrec=nrec+1
812
813   !PRINT*, '*****************************'
814   PRINT*, 'max:', maxval(rout(:,:,k))
815   PRINT*, 'min:', minval(rout(:,:,k), MASK=rout(:,:,k) .GT. 1.e-20)
816   PRINT*, '*****************************'
817
818   write (iunit,rec=nrec) ((rout(i,j,k),i=nxa,nxb),j=nya,nyb)
819 enddo
820 end subroutine write_bin


报错信息是说我 prep-chem-src.inp设置的不对吗    认真看了看.inp文件没发现什么问题

朋友们有遇见过这个问题吗 或者对此有什么看法吗    求帮助
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表