json/modis dumptablesql (setup_processes)
# dump (sql) and export (csv) the content of the db tables for MODIS tilecoords and regions
The json command file modis-dumptablesql_v090.json is part of karttur’s GeoImagine project setup_processes. Calling the json file will execute the following commands of the GeoImagine Framework.
{
"userproject": {
"userid": "karttur",
"projectid": "karttur",
"tractid": "karttur",
"siteid": "*",
"plotid": "*",
"system": "system"
},
"period": {
"timestep": "static"
},
"process": [
{
"processid": "DumpTableSQL",
"overwrite": true,
"version": "0.9",
"verbose": 2,
"parameters": {
"schema": "modis",
"table": "tilecoords",
"format": "c",
"cmdpath": "/usr/local/bin",
"dataonly": true,
"definitiononly": false
},
"dstpath": {
"volume": "DEMDATA"
}
},
{
"processid": "ExportTableCsv",
"overwrite": true,
"version": "0.9",
"verbose": 2,
"parameters": {
"schema": "modis",
"table": "tilecoords"
},
"dstpath": {
"volume": "DEMDATA"
}
},
{
"processid": "DumpTableSQL",
"overwrite": true,
"version": "0.9",
"verbose": 2,
"parameters": {
"schema": "modis",
"table": "regions",
"format": "c",
"cmdpath": "/usr/local/bin",
"dataonly": true,
"definitiononly": false
},
"dstpath": {
"volume": "DEMDATA"
}
},
{
"processid": "ExportTableCsv",
"overwrite": true,
"version": "0.9",
"verbose": 2,
"parameters": {
"schema": "modis",
"table": "regions"
},
"dstpath": {
"volume": "DEMDATA"
}
}
]
}