This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import arcpy | |
| import os | |
| from datetime import date | |
| from datetime import timedelta | |
| import multiprocessing | |
| #Overwrite the output if exist | |
| arcpy.env.overwriteOutput = True | |
| #Working directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import arcpy | |
| import os | |
| from datetime import date | |
| from datetime import timedelta | |
| import multiprocessing | |
| #Overwrite the output if exist | |
| arcpy.env.overwriteOutput = True | |
| #Working directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import arcpy | |
| import os | |
| from datetime import date | |
| from datetime import timedelta | |
| import multiprocessing | |
| #Overwrite the output if exist | |
| arcpy.env.overwriteOutput = True | |
| #Working directory |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| # -*- coding: utf8 -*- | |
| import arcpy | |
| import numpy | |
| import sys | |
| #Overwrite the output if exist | |
| arcpy.env.overwriteOutput = True | |
| reload(sys) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import arcpy | |
| import os | |
| from datetime import date | |
| from datetime import timedelta | |
| import multiprocessing | |
| #Overwrite the output if exist | |
| arcpy.env.overwriteOutput = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import os | |
| import arcpy | |
| # MODIS 16 days calendar using Julian Date | |
| chirps_16days_data = ['001', '017', '033', '049', '065', '081', '097', '113', '129', '145', '161', '177', | |
| '193', '209', '225', '241', '257', '273', '289', '305', '321', '337', '353'] | |
| # Change the data and output folder | |
| data_folder = "X:\\01_Data\\01_Global\\Rasters\\Climate\\Precipitation\\CHIRPS\\By16days" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Import system modules | |
| import optparse, sys, os, traceback, errno | |
| import ast | |
| import re | |
| import json | |
| import ConfigParser | |
| import re | |
| import logging | |
| import arcpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Import system modules | |
| import optparse, sys, os, traceback, errno | |
| import ast | |
| import re | |
| import json | |
| import ConfigParser | |
| import re | |
| import logging | |
| import arcpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| ' Program untuk menghitung Radiasi | |
| '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | |
| Private Sub cmdCal_Click() | |
| Dim LAT As Double | |
| Dim lon As Double | |
| Dim MONTH As Double | |
| Dim hari As Integer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ##### | |
| # Installing packages | |
| install.packages(c('raster','readr','tidyr','dplyr','RColorBrewer','GISTools','sp', | |
| 'sf','ggplot2','bioimagetools','plyr',"orcutt","lmtest"), dependencies = T) | |
| library(raster) | |
| library(readr) | |
| library(tidyr) | |
| library(dplyr) | |
| library(RColorBrewer) |