爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
楼主: qq531884069

WRF、MEGAN以及CMAQ答疑帖

  [复制链接]

新浪微博达人勋

发表于 2022-7-25 16:13:03 | 显示全部楼层
qq531884069 发表于 2022-7-12 16:16
用WPS4.1+WRF3.9.1就不会有这个问题了

感谢楼主!问题解决啦!
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2022-7-27 05:12:26 | 显示全部楼层
Paternoster 发表于 2022-7-24 14:41
楼主。我想请问一下CMAQ运行CCTM报错:

     *** ERROR ABORT in subroutine AQCHEM on PE 000          ...

尝试缩小run.cctm.csh里面的最大时间步长试试
这个报错是因为integration越界了
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-7-31 15:24:50 | 显示全部楼层
大佬,你用过CMAQ里面的region-specific scaling of emissions using the CMAQv5.3 DESID module嘛,这个GRIDMASK files要怎么做自己的区域啊,我没看懂官方的教程。

附上官方教程:
GRIDMASK file processing for U.S. states and NOAA/NCDC climate regions:

• The Fortran code used to generate the GRIDMASK files utilized the SMOKE gridding surrogate files for surrogate categories 340 (“NLCD Land”) and 350 (“NLCD Water”). These files are named USA_340_NOFILL_12km.txt and USA_350_NOFILE_12km.txt and are available for download at ftp://newftp.epa.gov/air/emismod ... _v1.3_29nov2016.zip

• The general format of these gridding surrogate files is described at https://www.cmascenter.org/smoke ... ml/ch08s04s02.html.
In addition to the required data columns A-E of the non-header lines, the files used in the processing also had three additional columns (F -H) included for quality assurance purposes. Column F is an exclamation mark (“!”) to indicate that the following two data columns are optional and not used by SMOKE. Column G contains the total absolute value (area) of the surrogate feature (i.e. “NLCD Land” or “NLCD Water”) in the grid cell indicated by columns C and D, while column H contains the total absolute value (area) of the surrogate feature (i.e. “NLCD Land” or “NLCD Water”) in the state and county indicated by the FIPS code in column B. The ratio of column G to column H is the spatial surrogate ratio shown in column E which is used by SMOKE.

• The Fortran code utilized the information in columns B (integer FIPS code indicating state and county), C (integer indicating grid cell column), D (integer indicating grid cell row), and G (total “NLCD Land” or “NLCD Water” area in the grid cell indicated by columns C and D).

• Accounting for the offset between the 12 km Lambert Conformal grid for which the spatial surrogates were developed (grid origin x = -2736000 m, y = -2088000 m) and the 12US1 modeling grid for which the GRIDMASK file was developed (grid origin x = -2556000 m, y = -1728000 m), for a given grid cell the Fortran code computed the GRIDMASK value for a given state or climate region by dividing the sum of the “NLCD Land” and “NLCD Water” areas associated with that state or climate region through the FIPS code by the sum of the “NLCD Land” and “NLCD Water” areas associated with any FIPS code.

• For example, to compute the GRIDMASK value for “NC” for a given grid cell, the code summed all column G entries from the USA_340_NOFILL_12km.txt and USA_350_NOFILE_12km.txt files that were associated with the grid cell in question (defined by columns C and D, accounting for the offset between surrogate grid and 12US1 modeling grid) and had a FIPS code (column B) starting with “37”, and divided this value by the sum over all column G entries from the USA_340_NOFILL_12km.txt and USA_350_NOFILE_12km.txt files that were associated with the grid cell in question regardless of FIPS code.

• For the NOAA climate region GRIDMASK, states were assigned to climate regions based on the Karl and Koss (1984) definition of climate regions available at https://www.ncdc.noaa.gov/monito ... climate-regions.php (note that Washington, D.C. is not included in any of the climate regions on the website but was included with the “Northeast” region for the generation of this GRIDMASK file):
o CLIMATE_REGION_1: Northwest (OR, WA, ID)
o CLIMATE_REGION_2: West (CA, NV)
o CLIMATE_REGION_3: West North Central (MT, WY, ND, SD, NE)
o CLIMATE_REGION_4: Southwest (UT, AZ, NM, CO)
o CLIMATE_REGION_5: South (KS, OK, TX, LA, AR, MS)
o CLIMATE_REGION_6: Central (MO, IL, IN, KY, TN, OH, WV)
o CLIMATE_REGION_7: East North Central (MN, IA, WI, MI)
o CLIMATE_REGION_8: Northeast (MD, DE, NJ, PA, NY, CT, RI, MA, VT, NH, ME) + Washington, D.C.
o CLIMATE_REGION_9: Southeast (VA, NC, SC, GA, AL, GA)

Thomas R. Karl and Walter James Koss, 1984: "Regional and National Monthly, Seasonal, and Annual Temperature Weighted by Area, 1895-1983." Historical Climatology Series 4-3, National Climatic Data Center, Asheville, NC, 38 pp
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-8-21 23:09:21 | 显示全部楼层
本帖最后由 Paternoster 于 2022-8-21 23:10 编辑

楼主你好!CMAQ5.3的CCTM模块设置了模拟120h,但是47小时后终止了。报错为:
[size=15.008px]*** ERROR ABORT in subroutine CONVCLD_ACM on PE 000
[size=15.008px]NEGATIVE RAIN…PROBABLY BAD MET DATA… inMET_CRO_2D
[size=15.008px]

[size=15.008px]但是检查了并没有负值,不知怎么解决呢?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2022-8-22 11:05:04 | 显示全部楼层
Paternoster 发表于 2022-8-21 23:09
楼主你好!CMAQ5.3的CCTM模块设置了模拟120h,但是47小时后终止了。报错为:
*** ERROR ABORT in subrouti ...

CMAQ5.2往后的版本都应该是day by day逐日运行的
这个报错不是指你的MCIP文件里有负值  而是指你MCIP文件里面某个时次的降水是负值(因为是后一个时次减去前一个时次来算
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-8-23 16:00:24 | 显示全部楼层
qq531884069 发表于 2022-8-22 11:05
CMAQ5.2往后的版本都应该是day by day逐日运行的
这个报错不是指你的MCIP文件里有负值  而是指你MCIP文 ...

那这种情况出现负值不是很正常吗?为什么导致了模拟终止呢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-9-6 11:03:57 | 显示全部楼层
大佬你好,我在运行MEGAN的时候,使用案例中的GRIDDESC文件可以正常将csv文件转成nc,但是我在这个基础上修改成我自己的参数的时候就会报错,不能获得网格的描述;
“*** ERROR ABORT in subroutine CNVT_EFS
     Could not get grid description.”
这个原因是什么啊?修改的时候是有什么格式要求吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

 楼主| 发表于 2022-9-7 02:09:27 | 显示全部楼层
夏目33 发表于 2022-9-6 11:03
大佬你好,我在运行MEGAN的时候,使用案例中的GRIDDESC文件可以正常将csv文件转成nc,但是我在这个基础上修 ...

Could not get grid description
这说明你GRIDDESC文件不对啊
你不要在它基础上改  直接自己MCIP生成GRIDDESC
或者你改的时候注意只改数字  空格这些不要动
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-9-7 11:25:45 | 显示全部楼层
楼主你好,我跑icon的时候报错如下

    The COORD.EXT and CTM vertical grid types are different.
     Vertical interpolation using ZH from the MET_CRO_3D files
NCVGT: : NetCDF: Index exceeds dimension bound
     netCDF error number  -40
     
     >>--->> WARNING in subroutine RDTFLAG
     Error reading netCDF time step flag for MET_CRO_3D_CRS
     M3WARN:  DTBUF 1:00:00   Dec. 30, 2016
NCVGT: : NetCDF: Index exceeds dimension bound
     netCDF error number   -40  Error reading variable "ZH              " from file "MET_CRO_3D_CRS  "
     netCDF error 0 reading file
     Timesteps:  LAST  2016365:000000; NEXT -0009999:******
     
     >>--->> WARNING in subroutine M3_VINTERP:INTERP3
     Error reading ZH from MET_CRO_3D_CRS
     M3WARN:  DTBUF 0:00:00   Dec. 30, 2016
     
     *** ERROR ABORT in subroutine M3_VINTERP
     Could not read layer heights from file MET_CRO_3D_CRS
     Date and time  0:00:00   Dec. 30, 2016   (2016365:000000)

这是怎么回事呀?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

新浪微博达人勋

发表于 2022-9-8 08:58:26 | 显示全部楼层
楼主你好,我在跑WRF中real.exe的时候报错./real.exe: error while loading shared libraries: libnetcdff.so.7: cannot open shared object file: No such file or directory,请问这个问题应该怎么解决呢
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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