Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme/sample request #12

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading