Tuesday 17 September 2019

arcgis 10.0 - Creating geodatabase from CSV using python


I have a file with weather data (daily) for multiple weather stations for multiple years. I am looking for some python script to automate the database creation process and its interpolation on a daily basis. The weather data looks like this:


YEAR    MONTH   DAY     Date        STID    TMAX    TMIN    TAVG
2000 1 1 1/1/2000 WENT 72.63 44.02 58.27
2000 1 1 1/1/2000 DKOM 70.66 40.77 55.76
2000 1 1 1/1/2000 OLLU 73.15 33.47 51.67
2000 1 1 1/1/2000 LKNP -999 -999 -999

2000 1 1 1/1/2000 OWNB 70.88 32.01 52.2
2000 1 1 1/1/2000 ANTL 71.85 31.13 51.66

There is a separate shapefile that is associate with the location of the weather stations. How do I create database using python script so that it can be used later for spatial interpolation? Thanks in advance.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...