Difference between revisions of "How to convert data for Geogrid"

From openwfm
Jump to navigation Jump to search
Line 6: Line 6:
  
 
== Install environment ==
 
== Install environment ==
 +
 +
Create a python environment for gdal compatibility. Shortly this is going to be the environment for wrfxpy installation.
 +
conda create -n wrfxpy python=3 gdal netcdf4 pyproj paramiko dill scikit-learn h5py pandas psutil proj4
 +
conda activate wrfxpy
 +
conda install -c conda-forge simplekml pygrib f90nml pyhdf xmltodict basemap
 +
pip install MesoPy python-cmr
  
 
== Get wrfxpy repository ==
 
== Get wrfxpy repository ==

Revision as of 18:43, 2 July 2020

Back to the WRF-SFIRE user guide.

This wiki page explains how to transform geotiff files to geogrid using convert_geotiff script in wrfxpy.

Get Anaconda3 distribution

Install environment

Create a python environment for gdal compatibility. Shortly this is going to be the environment for wrfxpy installation.

conda create -n wrfxpy python=3 gdal netcdf4 pyproj paramiko dill scikit-learn h5py pandas psutil proj4
conda activate wrfxpy
conda install -c conda-forge simplekml pygrib f90nml pyhdf xmltodict basemap
pip install MesoPy python-cmr

Get wrfxpy repository

Run convert_geotiff.sh



See the github repository for convert_geotiff for the latest documentation and source code.