爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1809|回复: 9

求助各位大神,flexpart小白一枚在运行程序时候报错

[复制链接]
发表于 2025-1-23 11:14:32 | 显示全部楼层 |阅读模式

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

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

x
这是我的错误提示:
(base) utrack@LAPTOP-HETNQ246:/mnt/d/flexpart$ ./FLEXPART
Welcome to FLEXPART Version 11.0 (2023-07-11)
Git: baf23a8 Fri Jan 3 20:42:55 2025 +0000
FLEXPART is free software released under the GNU General Public License.
FLEXPART is running with METER coordinates.
              ----------------               
  INFORMATION: SUBGRIDSCALE TERRAIN EFFECT IS
  NOT PARAMETERIZED DURING THIS SIMULATION.  
              ----------------               
Switch for LCM output LCMOUTPUT =  F

*********** WARNING  **********************************
* FLEXPART running in parallel mode                   *
* Number of uncertainty classes in                    *
* set to number of threads:                1          *
* All other computations are done with    22 threads. *
*******************************************************

FLEXPART WARNING: TIME DIFFERENCE BETWEEN TWO
WIND FIELDS IS BIG. THIS MAY CAUSE A DEGRADATION
OF SIMULATION QUALITY.
ECCODES ERROR   :  IO ERROR: No such file or directory: './flexpart_data/nl_20210601_00_00.grib2' (No such file or directory)
WARNING: problem opening GRIB file: ./flexpart_data/nl_20210601_00_00.grib2
ERROR STOP Unknown metdata format

Error termination. Backtrace:
#0  0x7febdbb8ce59 in ???
#1  0x7febdbb8da71 in ???
#2  0x7febdbb8f10b in ???
#3  0x55a6c1eed4d8 in read_options_and_initialise_flexpart_
        at /mnt/d/flexpart/src/FLEXPART.f90:264
#4  0x55a6c1eedaf4 in flexpart
        at /mnt/d/flexpart/src/FLEXPART.f90:95
#5  0x55a6c1da89e5 in main
        at /mnt/d/flexpart/src/FLEXPART.f90:36

这是我的设置:
pathnames:
./options/
./output/
./flexpart_data/
./AVAILABLE

AVAILABLE:
XXXXXX EMPTY LINES XXXXXXXX
XXXXXX EMPTY LINES XXXXXXXX
YYYYMMDD HHMMSS   name of the file(up to 80 characters)
20210601 000000     fnl_20210601_00_00.grib2      ON DISK
20210601 060000     fnl_20210601_06_00.grib2      ON DISK



密码修改失败请联系微信:mofangbao
发表于 2025-1-23 16:58:34 | 显示全部楼层
本帖最后由 sc0rp1o1 于 2025-1-23 16:59 编辑

你注意看你的报错是没找到输入文件,模式在读你的AVAILABLE文件时,把fnl_20210601_00_00.grib2给截断成了nl_20210601_00_00.grib2,少了个f。所以办法就是在AVAILABLE中HHMMSS和name of the file之间严格保持6个空格,就是下面箭头中的位置。
2.png
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2025-2-10 12:52:39 | 显示全部楼层
sc0rp1o1 发表于 2025-1-23 16:58
你注意看你的报错是没找到输入文件,模式在读你的AVAILABLE文件时,把fnl_20210601_00_00.grib2给截断成了n ...

谢谢前辈,已经解决了,的确是您说的这个问题,想问一下前辈有没有做过水汽这一块,是根据SPECNUM_REL来设置吗
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2025-2-10 13:35:29 | 显示全部楼层
Gong 发表于 2025-2-10 12:52
谢谢前辈,已经解决了,的确是您说的这个问题,想问一下前辈有没有做过水汽这一块,是根据SPECN ...

你说的“水汽”是什么?你想研究水汽的传输路径?那你直接设置SPECNUM_REL = 24就行了,这个就是“空气块”
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

 楼主| 发表于 2025-2-10 15:23:37 | 显示全部楼层
sc0rp1o1 发表于 2025-2-10 13:35
你说的“水汽”是什么?你想研究水汽的传输路径?那你直接设置SPECNUM_REL = 24就行了,这个就是“空气块 ...

了解了,多谢前辈
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2025-7-23 11:00:23 | 显示全部楼层
root@DESKTOP-630DGVT:/usr/local/flexpart# ./FLEXPART
Welcome to FLEXPART Version 11.0 (2023-07-11)
Git: af19fef Wed Jun 25 08:28:01 2025 +0200
FLEXPART is free software released under the GNU General Public License.
FLEXPART is running with METER coordinates.
              ----------------
  INFORMATION: SUBGRIDSCALE TERRAIN EFFECT IS
  NOT PARAMETERIZED DURING THIS SIMULATION.
              ----------------
Switch for LCM output LCMOUTPUT =  F

*********** WARNING  **********************************
* FLEXPART running in parallel mode                   *
* Number of uncertainty classes in                    *
* set to number of threads:                1          *
* All other computations are done with     8 threads. *
*******************************************************

  #### FLEXPART MODEL ERROR! AVAILABLE FILE ####
     /usr/local/flexpart/AVAILABLE/
  #### CANNOT BE OPENED           ####
ERROR STOP AVAILABLE file cannot be opened

Error termination. Backtrace:
#0  0x7cd92c623960 in ???
#1  0x7cd92c6244d9 in ???
#2  0x7cd92c625b47 in ???
#3  0x59e12df203cd in __readoptions_mod_MOD_readavailable
        at /usr/local/flexpart/srcl/readoptions_mod.f90:414
#4  0x59e12df96834 in read_options_and_initialise_flexpart_
        at /usr/local/flexpart/srcl/FLEXPART.f90:251
#5  0x59e12df9756b in flexpart
        at /usr/local/flexpart/srcl/FLEXPART.f90:95
#6  0x59e12de5ee65 in main
        at /usr/local/flexpart/srcl/FLEXPART.f90:36   
我这个错误是啥情况啊?求大神解答一下
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2025-7-25 11:01:53 | 显示全部楼层
snjwb123123 发表于 2025-7-23 11:00
root@DESKTOP-630DGVT:/usr/local/flexpart# ./FLEXPART
Welcome to FLEXPART Version 11.0 (2023-07-11) ...

错误输出得很清楚嘛,找不到你的AVAILABLE文件,你是不是多写了个“/”?,正确的应该是/usr/local/flexpart/AVAILABLE?
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2026-8-28 09:27:32 | 显示全部楼层
sc0rp1o1 发表于 2025-7-25 11:01
错误输出得很清楚嘛,找不到你的AVAILABLE文件,你是不是多写了个“/”?,正确的应该是/usr/local/flexp ...

Welcome to FLEXPART Version 11.0 (2023-07-11)
Git: undefined
FLEXPART is free software released under the GNU General Public License.
FLEXPART is running with METER coordinates.
              ----------------
  INFORMATION: SUBGRIDSCALE TERRAIN EFFECT IS
  NOT PARAMETERIZED DURING THIS SIMULATION.
              ----------------
Switch for LCM output LCMOUTPUT =  F

*********** WARNING  **********************************
* FLEXPART running in parallel mode                   *
* Number of uncertainty classes in                    *
* set to number of threads:                1          *
* All other computations are done with    20 threads. *
*******************************************************

FLEXPART WARNING: TIME DIFFERENCE BETWEEN TWO
WIND FIELDS IS BIG. THIS MAY CAUSE A DEGRADATION
OF SIMULATION QUALITY.
NCEP metdata detected
NXSHIFT is set to           0


Vertical levels in NCEP data:      37     37

Mother domain:
  Longitude range:    -180.00     180.00   Grid distance:       0.50
  Latitude range :     -90.00      90.00   Grid distance:       0.50

Number of reagents:            1
Reagent names: OH
Reagent units:
Releasepoints :            1
reading SPECIES          24
Particle shape SPHERE for particle          24
readspecies: preactions =
Reaction rates for AIRTRACER :
OH              : C, D, N =    0.00000000       0.00000000       0.00000000

SPECIES:  24  AIRTRACER   (GAS)
   Wet removal for gases      is turned: OFF
   Dry deposition for gases   is turned: OFF
   Below-cloud scavenging: OFF
   In-cloud scavenging: OFF
Particles released (numpartmax):      6000000
Total mass released: 1.0000000E+00
Allocating fields for global output (x,y):          359         180
totals: species = AIRTRACER
Concentrations are calculated using kernel
WARNING: turbulence switched off.
Simulated     0.0 hours (            0 s),             0 particles
Time:            0 seconds. Total spawned:           0 alive:           0 terminated:           0
Write header, nspec,numpart,totpart:            1           0     6000000
Writing Initialised heightlevels to file:/mnt/c/Users/10490/Desktop/output/heightlevels.bin
NCEP fields: using relative humidity for cloud identification
NCEP fields: using relative humidity for cloud identification
Global domain:  T
Allocating      6600000  particles           0           0           0
Finished allocation
Atm. mass:    0.00000000
Total number of particles at model start:            0
Maximum number of particles per column:            0
If    0.00000000      <1, better use more particles
Time:         -900 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -1800 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -2700 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -3600 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -4500 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -5400 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -6300 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -7200 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -8100 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -9000 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -9900 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -10800 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -11700 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -12600 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -13500 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -14400 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -15300 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -16200 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -17100 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -18000 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -18900 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:       -19800 seconds. Total spawned:           0 alive:           0 terminated:           0
大佬,请问我这个为啥释放粒子数为0呀,我在release里面设置了释放6000000呀
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2026-8-28 09:59:02 | 显示全部楼层
Suea 发表于 2026-8-28 09:27
Welcome to FLEXPART Version 11.0 (2023-07-11)
Git: undefined
FLEXPART is free software releas ...

你得看粒子释放时间是不是在模拟时间段内
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

发表于 2026-8-28 10:04:48 | 显示全部楼层
sc0rp1o1 发表于 2026-8-28 09:59
你得看粒子释放时间是不是在模拟时间段内

cat ./options/RELEASES
***************************************************************************************************************
*                                                                                                             *
*                                                                                                             *
*                                                                                                             *
*   Input file for the Lagrangian particle dispersion model FLEXPART                                          *
*                        Please select your options                                                           *
*                                                                                                             *
*                                                                                                             *
*                                                                                                             *
***************************************************************************************************************
&RELEASES_CTRL
NSPEC      =           1, ! Total number of species
SPECNUM_REL=          24, ! Species numbers in directory SPECIES
/
&RELEASE                   ! For each release
IDATE1  =       20180810, ! Release start date, YYYYMMDD: YYYY=year, MM=month, DD=day
ITIME1  =         000000, ! Release start time in UTC HHMISS: HH hours, MI=minutes, SS=seconds
IDATE2  =       20180810, ! Release end date, same as IDATE1
ITIME2  =         180000, ! Release end time, same as ITIME1
LON1    =        -180.000, ! Left longitude of release box -180 < LON1 <180
LON2    =         180.000, ! Right longitude of release box, same as LON1
LAT1    =        -90.000, ! Lower latitude of release box, -90 < LAT1 < 90
LAT2    =         90.000, ! Upper latitude of release box same format as LAT1
Z1      =         50.000, ! Lower height of release box meters/hPa above reference level
Z2      =      10000.000, ! Upper height of release box meters/hPa above reference level
ZKIND   =              1, ! Reference level 1=above ground, 2=above sea level, 3 for pressure in hPa
MASS    =       1.0000E0, ! Total mass emitted, only relevant for fwd simulations
PARTS   =        5500000, ! Total number of particles to be released
COMMENT =    "RELEASE 1", ! Comment, written in the outputfile
/
root@sue:/usr/local/softwares/flexpart-v11# grep -E "IBDATE|IBTIME|IEDATE|IETIME" ./options/COMMAND
IBDATE=         20180801, ! Start date of the simulation   ; YYYYMMDD: YYYY=year, MM=month, DD=day
IBTIME=           000000, ! Start time of the simulation   ; HHMISS: HH=hours, MI=min, SS=sec; UTC
IEDATE=         20180811, ! End date of the simulation     ; same format as IBDATE
IETIME=           000000, ! End  time of the simulation    ; same format as IBTIME
root@sue:/usr/local/softwares/flexpart-v11# ./src2/FLEXPART
Welcome to FLEXPART Version 11.0 (2023-07-11)
Git: undefined
FLEXPART is free software released under the GNU General Public License.
FLEXPART is running with METER coordinates.
              ----------------
  INFORMATION: SUBGRIDSCALE TERRAIN EFFECT IS
  NOT PARAMETERIZED DURING THIS SIMULATION.
              ----------------
Switch for LCM output LCMOUTPUT =  F

*********** WARNING  **********************************
* FLEXPART running in parallel mode                   *
* Number of uncertainty classes in                    *
* set to number of threads:                1          *
* All other computations are done with    20 threads. *
*******************************************************

FLEXPART WARNING: TIME DIFFERENCE BETWEEN TWO
WIND FIELDS IS BIG. THIS MAY CAUSE A DEGRADATION
OF SIMULATION QUALITY.
NCEP metdata detected
NXSHIFT is set to           0


Vertical levels in NCEP data:      37     37

Mother domain:
  Longitude range:    -180.00     180.00   Grid distance:       0.50
  Latitude range :     -90.00      90.00   Grid distance:       0.50

Number of reagents:            1
Reagent names: OH
Reagent units:
Releasepoints :            1
reading SPECIES          24
Particle shape SPHERE for particle          24
readspecies: preactions =
Reaction rates for AIRTRACER :
OH              : C, D, N =    0.00000000       0.00000000       0.00000000

SPECIES:  24  AIRTRACER   (GAS)
   Wet removal for gases      is turned: OFF
   Dry deposition for gases   is turned: OFF
   Below-cloud scavenging: OFF
   In-cloud scavenging: OFF
Particles released (numpartmax):      5500000
Total mass released: 1.0000000E+00
Allocating fields for global output (x,y):          359         180
totals: species = AIRTRACER
Concentrations are calculated using kernel
WARNING: turbulence switched off.
Simulated     0.0 hours (            0 s),             0 particles
Time:            0 seconds. Total spawned:           0 alive:           0 terminated:           0
Write header, nspec,numpart,totpart:            1           0     5500000
Writing Initialised heightlevels to file:/mnt/c/Users/10490/Desktop/output/heightlevels.bin
NCEP fields: using relative humidity for cloud identification
NCEP fields: using relative humidity for cloud identification
Global domain:  T
Allocating      6050000  particles           0           0           0
Finished allocation
Atm. mass:    0.00000000
Total number of particles at model start:            0
Maximum number of particles per column:            0
If    0.00000000      <1, better use more particles
Time:         -900 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -1800 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -2700 seconds. Total spawned:           0 alive:           0 terminated:           0
Time:        -3600 seconds. Total spawned:           0 alive:           0 terminated:           0
是在的耶,搞不明白了
密码修改失败请联系微信:mofangbao
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

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

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