Idea from Carrie to allow assignment override of incoming products with the -I option. This would also have to be implemented in the StockAlgorithm class in WDSS2 core. We also already have key pairing in the capital O options so this would work similar to that.
The capital I option would have the ability to take the form:
-I "Reflectivity=CorrectedRef PhiDP=CorrectedPhiDP Velocity=RadialVelocity"
Where in code something like this API would allow knowing a product matches:
std::string dataType = newData.getDataTypeString();
if (matches("Reflectivity", dataType){ // Returns true if incoming is CorrectedRef above
// Handle reflectivity
}
Idea from Carrie to allow assignment override of incoming products with the -I option. This would also have to be implemented in the StockAlgorithm class in WDSS2 core. We also already have key pairing in the capital O options so this would work similar to that.
The capital I option would have the ability to take the form: -I "Reflectivity=CorrectedRef PhiDP=CorrectedPhiDP Velocity=RadialVelocity"
Where in code something like this API would allow knowing a product matches: