Skip to content

calculate EVAPOTRANSPIRATION (Et0) from GFS data on a specific area and for a date within the last 14 days

License

Notifications You must be signed in to change notification settings

yoannMoreau/Evapo_GFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

=======

Evapo_GFS

Tool to calculate refence Evapo-transpiration on an area based on GFS models The calculation is based on FAO equation.

Installation

mkdir PATH/TO/INSTALL
cd PATH/TO/INSTALL/Evapo_GFS
git clone git+git://github.com/yoannMoreau/Evapo_GFS.git
sudo apt-get install libopenjpeg sudo apt-get install pyproj sudo apt-get install grib-api python python/calculateETfromGFS.py.py -help

( or you cas Use pip to install Evapo_GFS )

Overview: What can Evapo_GFS do?

Evapo_GFS has a main function, allow download parameters for evapo-transpiration :
Temperature,
Wind speed,
Net Solar radiation
Pressure
Precipitation

All these data are used to compute Et0 wherever the user need it. The result could be export on tif or in txt file for precise analysis. It's possible to compute Et0 over 15 days from time the programme is executed, the final result will have as band as days needed.

Three paramaters are mandatory:

--Interval needed :
init date ' AND end date ' init date and end date coul not exceed 15days from the time of execution

--Area needed
shapefile (srs is not important because it will be reprojected in WGS84) OR --Extend <xmin,ymax,xmax,ymin> in WGS84

EXAMPLES :
EvapoTranspiration during january 2014
python calculateETfromGFS.py -i 2014-01-01 -e 2014-01-31 -s PATH_TO_SHAPE'


Five paramaters are optional:

----typeData (default analyse)'
The type of data needed. Analyse is post production data only few variables are downloadable in such format Forecast are less precise but operationnal data. Forecast use step of 3 hour during all the day (start a 00h until midnight). cycleForcast are forecast but which start at 3, time of 00 is not possible for such type of data

Analyse use 4 time : 00h00 06h00 12h00 and 18h00

python calculateETfromGFS.py -i 2013-11-08 -e 2013-12-09 -E xmin,ymax,xmax,ymin -t analyse

--grid (default 0.75)'
the grid of output data. It should be from 0.75 to 2.5 (almost 80km to 300km pixel width) But the model run for an output of 80km default is 0.75

python calculateETfromGFS.py -i 2013-11-08 -e 2013-12-09 -E xmin,ymax,xmax,ymin -g 0.75'

--calculateETfromERAI (default /home/user/eraInterim)'

python calculateETfromGFS.py -i 2011-10-01 -e 2011-10-02 -s PATH/TO/SHAPEFILE -o PATH/TO/FILE' All downloaded raster are TIF

--proxy <proxy : True/False> (default False)

Sometimes a proxy definition is needed for downloading from external network. When this option is activated, a proxy user/key/site could be defined to overpass it

--temporaryFile <True/False> (default False)

It could be useful to have intermediary product to check how computation have been done. default is False : Temporary files are : altitude / humidityMax / humidityMin / latLon / precipitationAcc / pressureMean / RayonnementMean / TemperatureMax / TemperatureMin / ventMean

python calculateETfromGFS.py -i 2014-01-01 -e 2014-01-04 -s /home/ouaf/landsat/zone_etude.shp -f True

--resultOutput <TxtFile/RasterFile> (default False)

For some reason it could be useful to have txtfiles for each pixel. it could be done using -r TxtFile option. Each pixel will be export in a txt format. Defaut is RasterFile.

python calculateETfromGFS.py -i 2014-01-01 -e 2014-01-04 -s /home/ouaf/landsat/zone_etude.shp -r TxtFile

Important Notes

All downloaded and processed images are stored by default in your home directory in GFS forlder: ~/GFS

To Do List

Improve console output
Maintain with bug error

About

calculate EVAPOTRANSPIRATION (Et0) from GFS data on a specific area and for a date within the last 14 days

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages