Skip to content
Lorena Abad Crespo edited this page May 30, 2023 · 4 revisions

Why is my CSV file throwing a Reference_ID error?

If you generated your CSV file with scripts/0_query_s1.py and then opened your file using Microsoft Excel to choose which image pairs to download, and saved it again, it is likely that Office changed the encoding of your file to UTF-8-BOM or similar. To fix this, please use a text editor such as Notepad++ where you can easily change your file encoding back to UTF-8. This should allow the scripts to recognize your file properly.

Why do I get an error during unwrapping with snaphu?

snaphu has proven to be a whole world on its own. Some errors we have encountered are:

1. Empty snaphu.conf file

Possible causes are:

  • Your AOI is too small and no unwrapping can be performed in the area.

1. Intensity-normalization averaging box too large for input array size

Possible causes are:

  • Your AOI might be too small to perform the unwrapping process.
    • Solution: add a small bnuffer to your AOI. If you want to do that when calling the script, use --aoi_buffer 0.01. See #38

2. NaN or infinity found in input float data

Possible causes are:

  • You did not subset to an AOI (and border pixels with NaN values are included).

    • Solution: Try using a subset for your analysis.
  • Your AOI includes NaN values, e.g., water bodies

    • [Solution]: We don't have a solution yet for this one, let us know if you do! See #9