AgWISE-EiA / potentialyield

0 stars 3 forks source link

Erroneous of weather data download #18

Open smkuhlani opened 5 months ago

smkuhlani commented 5 months ago

1-Error in data download of weather data. Rainfall, TMax & TMin weather data being downloaded for one year only and the rest of the years being downloaded as NA. 

See error here:~/agwise-datasourcing/dataops/datasourcing/Data/useCase_Rwanda_RAB/Maize/result/geo_4cropModel/Amajyaruguru/Rainfall_Season_1_PointData_AOI.RDSDownloading using: ~/agwise-datasourcing/dataops/datasourcing/Scripts/useCases/useCase_Rwanda_RAB/Maize/get_geoSpatialData_Rwanda_Maize.R

This is causing deformed Weather input files: ~/agwise-potentialyield/dataops/potentialyield/Data/useCase_Rwanda_RAB/Maize/transform/DSSAT/AOI/890011/Amajyaruguru/EXTE0001/WHTE0001.WTHCreated using: ~/agwise-potentialyield/dataops/potentialyield/Script/useCases/UseCase_Rwanda_RAB/Maize/DSSAT/run_DSSAT_RAB_Maize.R   (line 5:16)

2-In a separate case: The Tmin is at times greater or equal to Tmax. See error here: ~/agwise-potentialyield/dataops/potentialyield/Data/useCase_Zimbabwe_Solidaridad/Maize/transform/DSSAT/AOI/900111/Bulawayo/EXTE0001/WARNING.OUT

asila commented 5 months ago

This has been fixed. A copy of the correct working script is sourced from ~/agwise-datasourcing/dataops/datasourcing/Scripts/generic/Testing/get_geoSpatialData_V0.R