A coupled weather-fire forecasting model built on top of Weather Research and Forecasting (WRF). This is the original https://github.com/openwfm/wrf-fire transitioned to a fork of WRF and selected as ifire=1. Graphic log at https://repo.or.cz/git-browser/by-commit.html?r=WRF-SFIRE.git
p=nc2struct(w,{'LFN','Times','FIRE_AREA','TIGN_G','U','V','W'},{}); min(p.tign_g(:));char(p.times')
nc2struct: reading all timesteps
nc2struct: reading from file wrfout_d03_2021-09-10_14:45:00
LFN size 2460 2460 netcdf stored as single (2460 2460 1)
Times size 19 1 netcdf stored as char (19 1)
FIRE_AREA size 2460 2460 netcdf stored as single (2460 2460 1)
TIGN_G size 2460 2460 netcdf stored as single (2460 2460 1)
U size 124 123 40 netcdf stored as single (124 123 40 1)
V size 123 124 40 netcdf stored as single (123 124 40 1)
W size 123 123 41 netcdf stored as single (123 123 41 1)
ans =
'2021-09-10_14:45:00'
Actual behavior
At some point the files become empty
w='wrfout_d03_2021-09-10_15:00:00'
w =
'wrfout_d03_2021-09-10_15:00:00'
p=nc2struct(w,{'LFN','Times','FIRE_AREA','TIGN_G','U','V','W'},{}); min(p.tign_g(:));char(p.times')
nc2struct: reading all timesteps
nc2struct: reading from file wrfout_d03_2021-09-10_15:00:00
LFN size 2460 2460 0 netcdf stored as single (2460 2460 0)
Times size 19 0 netcdf stored as char (19 0)
FIRE_AREA size 2460 2460 0 netcdf stored as single (2460 2460 0)
TIGN_G size 2460 2460 0 netcdf stored as single (2460 2460 0)
U size 124 123 40 0 netcdf stored as single (124 123 40 0)
V size 123 124 40 0 netcdf stored as single (123 124 40 0)
W size 123 123 41 0 netcdf stored as single (123 123 41 0)
ans =
0×19 empty char array
Describe the bug wrfout files are empty - the time dimension of arrays is 0
To Reproduce
Still working on reproducing this.
With files in /data/afarguell/WRFx/wrfxpy/wksp/wfc-from-web-2021-09-09_03-15-20-2021-09-09_00:00:00-48/wrf
w = 'wrfout_d03_2021-09-10_14:45:00'
Actual behavior At some point the files become empty