This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from cp4cds/issue-25-rainfarm-desc
Added diagnostic description for rainfarm and rmse (#25)
- Loading branch information
Showing
7 changed files
with
90 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import pytest | ||
|
||
from pywps import Service | ||
from pywps.tests import assert_response_success | ||
|
||
from . common import client_for | ||
from copernicus.processes.wps_rainfarm import RainFarm | ||
|
||
|
||
def test_wps_rainfarm(): | ||
client = client_for(Service(processes=[RainFarm()])) | ||
datainputs = "regridding=false;slope=false" | ||
resp = client.get( | ||
service='WPS', request='Execute', version='1.0.0', identifier='rainfarm', | ||
datainputs=datainputs) | ||
print(resp.data) | ||
assert_response_success(resp) |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import pytest | ||
|
||
from pywps import Service | ||
from pywps.tests import assert_response_success | ||
|
||
from . common import client_for | ||
from copernicus.processes.wps_rmse import RMSE | ||
|
||
|
||
def test_wps_rmse(): | ||
client = client_for(Service(processes=[RMSE()])) | ||
datainputs = "eofs=false" | ||
resp = client.get( | ||
service='WPS', request='Execute', version='1.0.0', identifier='rmse', | ||
datainputs=datainputs) | ||
print(resp.data) | ||
assert_response_success(resp) |