RasterFlow Overview
Learn about RasterFlow’s key features and capabilities
Runs REST API
Full reference for the Runs REST API
Workload History
Monitor your job runs
Runtimes
Choose the right runtime for your workload
Benefits
Running RasterFlow workflows as jobs provides several advantages over interactive notebook execution:Automation
Automation
Schedule and trigger RasterFlow workflows programmatically.
Production readiness
Production readiness
Run workflows in a managed environment without interactive notebooks.
Integration
Integration
Incorporate RasterFlow into existing data pipelines and CI/CD systems.
Monitoring
Monitoring
Track job status and results through the Workload History dashboard.
Before you start
Before submitting RasterFlow jobs, ensure you have the following:- An account within a Professional or Enterprise Edition Organization. For more information, see Create a Wherobots Account.
- A Wherobots API key. For more information, see API keys.
- Access to Wherobots Managed Storage for uploading scripts and storing results.
- RasterFlow enabled for your organization.
RasterFlow is currently in Private Preview. Wherobots is rolling out RasterFlow to a select group of Organizations. If you are interested in gaining early access to these new capabilities and helping shape the future of the product, register your interest here.
Overview
Submitting a RasterFlow workflow as a job involves three steps:- Write a job script: Create a standalone Python script containing your RasterFlow workflow
- Upload the script: Upload the script to Wherobots Managed Storage so it can be referenced by the Job Run.
- Submit the job: Submit the job using the Runs REST API
Write the job script
Create a Python script that contains your RasterFlow workflow. This script will be executed by the Wherobots Job Run environment. It should be self-contained—all imports, configuration, and processing logic must be included in the script. The following example runs the Fields of the World (FTW) model on Haskell County, Kansas using RasterFlow.This is a subset of the code included in the Fields of the World solution notebook.
See the FTW tutorial for more details on the model and its outputs.
rasterflow_ftw_job.py
Upload the script
Upload the job script to your Wherobots Managed Storage so it can be referenced by the Job Run. Your upload method will depend on where you created the script:- Wherobots Cloud
- Local Machine
If you wrote and saved the job script (in this example
rasterflow_ftw_job.py) in the Wherobots Cloud notebook environment, upload the job script to Managed Storage using s3fs.- Start a new notebook in Wherobots Cloud.
-
Paste the following code snippet into a notebook cell in the same directory as
rasterflow_ftw_job.py. -
Run the cell to upload
rasterflow_ftw_job.py. Go to Storage in the Wherobots Cloud interface to confirm that the file is uploaded to your Managed Storage.
Submit the job
Oncerasterflow_ftw_job.py is uploaded to Managed Storage, submit it as a Job Run using the Runs REST API.
-
Create the following environment variables:
Variable Description WHEROBOTS_API_KEYYour Wherobots API key. See API keys for how to create one. USER_S3_PATHYour Wherobots managed storage path. Available as a built-in environment variable in Wherobots notebooks. -
Run the following script to submit a job that references your uploaded
rasterflow_ftw_job.py.The submission script uses therequestslibrary. If it is not already installed in your environment, install it withpip install requests.submit_rasterflow_job.py
Monitor the job
After submitting a job, you can monitor its progress in several ways:- Workload History: Use the Workload History dashboard for a broader view of all workloads across your organization.
- REST API: Query the job status programmatically using the Runs REST API.
Next steps
The following resources will help you further explore RasterFlow and its related capabilities:Explore built-in models
Explore built-in models
See all available built-in models in RasterFlow Models.
Runs REST API reference
Runs REST API reference
Review all available parameters for the Runs REST API.
Automate with Apache Airflow
Automate with Apache Airflow
Set up automated pipelines with the Wherobots Apache Airflow Provider using the WherobotsRunOperator.
Choose the right runtime
Choose the right runtime
Learn about Runtimes to choose the right compute resources for your workflows.
API reference
For detailed RasterFlow API documentation, see:Client API Reference
Client API Reference
RasterflowClient methods — see Client API ReferenceData Models Reference
Data Models Reference
Enums and configuration objects — see Data Models Reference
Model Registry Reference
Model Registry Reference
Working with model registries — see Model Registry Reference
Exceptions Reference
Exceptions Reference
Error handling — see Exceptions Reference

