Skip to content

Conversation

@antond-weta
Copy link
Contributor

No description provided.

@antond-weta antond-weta force-pushed the rawtoaces_data_path branch 2 times, most recently from 47d7f4f to 87a5f97 Compare August 5, 2025 05:54
env = getenv( "RAWTOACES_DATA_PATH" );
if ( !env )
// Fallback to the old environment variable.
env = getenv( "AMPAS_DATA_PATH" );
Copy link
Contributor

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?

Copy link
Contributor Author

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.
Copy link
Contributor

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?

Copy link
Contributor Author

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]>
@antond-weta antond-weta force-pushed the rawtoaces_data_path branch from 6cf3a0e to 2b9d3d6 Compare August 6, 2025 05:34
@antond-weta antond-weta merged commit f144c72 into AcademySoftwareFoundation:master Aug 6, 2025
13 checks passed
@antond-weta antond-weta deleted the rawtoaces_data_path branch August 30, 2025 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants