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

LANDFIRE services are changing #451

Closed
nwagenbrenner opened this issue May 5, 2022 · 4 comments
Closed

LANDFIRE services are changing #451

nwagenbrenner opened this issue May 5, 2022 · 4 comments

Comments

@nwagenbrenner
Copy link
Member

The current requestValidationService and DownloadService we use to fetch the LCP data are being retired. Scheduled retirement is July 1. We need to switch to the new Landfire Product Service. A example Python script for using this service is attached here.

submit_check_retrieve.txt

@jforthofer
Copy link
Contributor

WindNinja code that currently handles this is:
https://github.com/firelab/windninja/blob/master/src/ninja/landfireclient.cpp

@nwagenbrenner
Copy link
Member Author

We added code to handle the new GTiff format for landscape files (in addition to the LCP format), but we need to double check that non-landscape GTiff files (SRTM, GMTED, etc. DEM files) are still read correctly. We should check for the number of bands in the GTiff. If there are more than one, it's a landscape file, otherwise it's a DEM. See https://github.com/firelab/windninja/blob/master/src/ninja/readInputFile.cpp#L401.

@nwagenbrenner
Copy link
Member Author

This is fixed in the lcp-service-upgrade branch. We just need to edit tutorials, example files, etc. to replace *.lcp with *.tif. All landscape files downloaded by WindNinja will now be multi-band GeoTIFF files (not .lcp files). Reading the older .lcp format is still supported though. Then we'll merge this into the master and prepare a release.

@nwagenbrenner
Copy link
Member Author

Fixed in e2d0e01 through 1a3dcab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants