Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

0 values within FXLONG and FXLAT in wrf-fire output

pearse

New member
In the wrf-fire datasets I've worked with, the FXLONG and FXLAT coordinate variables contain 0's at the spatial domain's boundary. Since they also have no _FillValue attribute, some post-processing software package like Vapor have trouble reading the contained 2D variables.

Is there a good place that I can make a feature request to change this? I don't know if there may be a good reason to keep it.

Example `ncdump -v FXLAT` on wrf-fire output:

...
40.19511, 40.19512, 40.19511, 40.19511, 40.19511, 40.19511, 40.19511,
40.19511, 40.19511, 40.19511, 40.19511, 40.19511, 40.19511, 40.1951,
40.1951, 40.1951, 40.1951, 40.1951, 40.19509, 40.19509, 40.19509,
40.19508, 0, _, _, _, _,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
...
 
Hi,
I suppose this is an ideal WRF-FIRE run. Please let em know if I am wrong.
fxlong and flat are 'fake' coordinate with unit of 'meter'. They are specified in the code phys/module_fr_fire_util.F. Please look at the following piece of code and modify if necessary:

277 do j=jfts,jfte

278 do i=ifts,ifte

279 ! uniform mesh, lower left domain corner is (0,0)

280 fxlong(i,j)=(i-ifds+0.5)*dxf

281 fxlat (i,j)=(j-jfds+0.5)*dyf

282 enddo

283 enddo

An alternative way is to directly modify these variables in your wrfout. NCL and Python both can be applied to do so. Please see the website here for the NCL example to modify data:
 
Hi Ming, thanks for the tips. I'm actually trying to make a request that this gets implemented in the main code repository so that there is no need for post-processing in the future.

Is there a github repository or some place similar that I can make this request? I've made similar requests for models like CM-1 that have made our users' lives much easier.
 
Top