Skip to content

Commit

Permalink
update readme/sample request
Browse files Browse the repository at this point in the history
  • Loading branch information
pbeukema committed Nov 23, 2023
1 parent d345c61 commit 9e735e6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions example/sample_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ def sample_request() -> None:
REQUEST_BODY = {
"input_dir": SAMPLE_INPUT_DIR,
"output_dir": SAMPLE_OUTPUT_DIR,
"dnb_filename": "VNP02DNB_NRT.A2023081.1836.002.2023081233758.nc",
"geo_filename": "VNP03DNB_NRT.A2023081.1836.002.2023081232003.nc",
"cloud_filename": "CLDMSK_L2_VIIRS_SNPP.A2023081.1836.001.nrt.nc",
"dnb_filename": "VJ102DNB_NRT_2023_310_VJ102DNB_NRT.A2023310.0606.021.2023310104322.nc",
"geo_filename": "VJ103DNB_NRT_2023_310_VJ103DNB_NRT.A2023310.0606.021.2023310093233.nc",

}

response = requests.post(VVD_ENDPOINT, json=REQUEST_BODY, timeout=TIMEOUT_SECONDS)
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Note that the model and API are designed to run in resource constrained environm
Pull the latest package from [GitHub](https://github.com/allenai/vessel-detection-viirs/pkgs/container/vessel-detection-viirs)

```bash
docker pull ghcr.io/vulcanskylight/vessel-detection-viirs:latest
docker pull docker pull ghcr.io/allenai/vessel-detection-viirs:sha-d345c61
```

Once the package is downloaded, start the service with:
Expand Down
Git LFS file not shown
Git LFS file not shown

0 comments on commit 9e735e6

Please sign in to comment.