-
Notifications
You must be signed in to change notification settings - Fork 0
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
ASTER failing to get Gain Status #199
Comments
According to ASTER user's guide, The HGH, NOR, LO1, LO2, and OFF are all they provided. So this LOW must be an outlier. I will double check the file, hang on. |
This file path is for Blue waters, FYI |
Landon, I verified what you said. We need to contact ASTER team on this issue. You should notify Guangyu and ask him to contact LP DAAC how we should interpret the LOW. This is not in their user's guide. |
From Guangyu: I’ve looked at the sample ASTER file and found the gain settings for bands 1 and 2 are indeed set to “Low”. |
Landon, could you provide me the inputfilelist for this at roger? |
The input file list for ROGER: /projects/TDataFus/fusionTesting/input/2013/input74612.txt |
I have changed the ASTER code so that any time cameras 1, 2, or 3N are found with a gain label of "LOW", it remaps this internally to the "LO1" label, as per what Dr. Zhao suggested. This seems to have fixed the problem. Given that no other issues pop up, this should now give us >99% success rate for 2013 processing. I will submit another job to Blue Waters to test everything we have so far. |
landon, we are duplicating our work :) @@ -1679,10 +1679,10 @@ short get_band_index(char *band_index_str)
@@ -1843,6 +1843,13 @@ int obtain_gain_index(int32 sd_id,short gain_index[15])
|
Okay I will revert my work. Please do not merge to master until I revert the change. |
Dr. Yang, go ahead and push your changes to this specific portion of ASTER to a development branch. I made other changes to ASTER, namely adding more robust error checks. I am afraid that if you try to push to master, you will run into conflicts. I will simply copy-paste your version of this bug-fix to ASTER.c |
Done with the branch temp_aster_fix. Note the ASTER.c is based on the version before you reverted. Please just add your error handling code/comments to this file and check it into the master. I've checked it with the ASTER files that have low with my version. The values look correct. |
Your changes have been successfully merged. I will begin the next round of BW tests. |
ASTER retrieves the gain status for each camera from productmetadata.0. It searches for HGH, NOR, LO1, LO2, and OFF. However in the file
Some of the cameras have "LOW" as the status. ASTER does not check for this???
The error that manifests is "There is no valid Unit Conversion Coefficient for this dataset ImageData2". Need to figure out how to fix this problem.
The text was updated successfully, but these errors were encountered: