I created an R package to make interactive plots of the wrf domains, named wrftools https://github.com/atmoschem/wrftools. The function needs you to enter the namelist.wps information manually. However, I would like that this function reads the namelist.wps automatically, in a similar fashion as the local scrip utils/plotgrids_new.ncl. As these files, namelist.wps, and namelist.input, are formatted text files, I thought that there should be a Fortran format to read them automatically.
I want to read namelist.wps and namelits.input from WRF model with Fortran. Thanks.