-
Notifications
You must be signed in to change notification settings - Fork 57
switch from AMPAS_DATA_PATH to RAWTOACES_DATA_PATH environment variable #156
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
switch from AMPAS_DATA_PATH to RAWTOACES_DATA_PATH environment variable #156
Conversation
47d7f4f to
87a5f97
Compare
| env = getenv( "RAWTOACES_DATA_PATH" ); | ||
| if ( !env ) | ||
| // Fallback to the old environment variable. | ||
| env = getenv( "AMPAS_DATA_PATH" ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/nit random thought - maybe throw some warning message into console saying that this one is deprecated now and they should switch to a new one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea. done!
| $ rawtoaces --wb-method 1 D60 --mat-method 0 input.raw | ||
|
|
||
| You can use the environment varilable of `AMPAS_DATA_PATH` to specify the repository for your own datasets. If you have spectral sensitivity data for your camera but it is not included with `rawtoaces` you may place that data in `/usr/local/include/rawtoaces/data/camera` or place the data in the folder pointed by `AMPAS_DATA_PATH`. | ||
| You can use the environment variable of `RAWTOACES_DATA_PATH` to specify the repository for your own datasets. If you have spectral sensitivity data for your camera but it is not included with `rawtoaces` you may place that data in `/usr/local/include/rawtoaces/data/camera` or place the data in the folder pointed by `RAWTOACES_DATA_PATH`. The rawtoaces versions prior to v1.1 used the environment variable `AMPAS_DATA_PATH`, the old name is still supported for backward compatibility. If both variables are present, `RAWTOACES_DATA_PATH` takes priority. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a place that describes what is expected structure of this folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, in the data repo readme
Signed-off-by: Anton Dukhovnikov <[email protected]>
Signed-off-by: Anton Dukhovnikov <[email protected]>
6cf3a0e to
2b9d3d6
Compare
f144c72
into
AcademySoftwareFoundation:master
No description provided.