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
#!/bin/bash | |
# ZOO-Project WPS offers integration with the Orfeo Remote Sensing and Image Manipulation Toolbox. | |
# The build chain takes some time an has a few traps. This build has shown to work with the example request, | |
# however a few spurious errors still show up in server operations. I have been able to work through | |
# http://zoo-project.org/docs/kernel/orfeotoolbox.html and execute the example request. A black result PNG | |
# is returned. | |
# tail -f /var/log/apache2/error.log | |
-- |
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
#!/bin/bash | |
#ocrpdftotext | |
# adjusted implementation of http://ubuntuforums.org/showthread.php?t=880471 | |
DPI=300 | |
TESS_LANG=eng | |
FILENAME=${@} | |
TMP_NAME=`basename "$FILENAME" .pdf` | |
OUTPUT_FILENAME=${TMP_NAME}-out-${DPI}.txt |
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
# wps.des: sos4R_wps_gwl_horo, title = interp mean gw levels per Foi per year via SOS, | |
# abstract = A Simple and useless demo WPS Process just summing the meaausrements for a given Foi; | |
# wps.in: year, string; | |
# calculate something... variable "input" don't has to be initialized | |
library(sos4R) | |
library(akima) | |
library(fields) |
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
# demo sos 400 | |
library(sos4R) | |
g1.converters <- SosDataFieldConvertingFunctions( | |
"http://vocab.smart-project.info/sensorweb/phenomenon/Temperature" = sosConvertDouble, | |
"http://www.opengis.net/def/property/OGC/0/SamplingTime" = sosConvertTime, | |
"http://www.opengis.net/def/property/OGC/0/FeatureOfInterest" = sosConvertString) | |
myopts <- curlOptions(ssl.verifyhost=FALSE, ssl.verifypeer=FALSE, followlocation=TRUE) | |
handle <- getCurlHandle( .opts= myopts) |
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
library(gstat) | |
library(sos4R) | |
gwl.converters <- SosDataFieldConvertingFunctions( | |
"http://resources.smart-project.info/gemet/groundwaterlevel" = sosConvertDouble, | |
"http://www.opengis.net/def/property/OGC/0/SamplingTime" = sosConvertTime, | |
"http://www.opengis.net/def/property/OGC/0/FeatureOfInterest" = sosConvertString) | |
gwl <- SOS(url = "http://portal.smart-project.info/52nSOSv3.5.0/sos", | |
dataFieldConverters = gwl.converters) | |
# summary(gwl) | |
gwl_offerings <- sosOfferings(gwl) |
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
gcloud compute --project "cloud-project1" ssh --zone "us-central1-f" "cloud-instance1" | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install openjdk-7-jdk git | |
sudo apt-get install libgdal-java libgdal-dev gdal-bin netcdf-bin libnetcdf-dev |
NewerOlder