Open yunjunz opened 1 year ago
Hi Yunjun,
Yes, you can move it to legacy or remove it from the repo.
I do not use it too often. Maybe useful for GAMMA users, when he/she wants to use PyAPS or ICAMS with a UTM lookup table, then this script can help them to generate radarCoord-lookup table as ISCE.
I have a quick check about your error, and it is caused by the rangeCoord in geometryGeo,h5, which starts from 100 (not from 0 or smaller than 0). This means the geometryGeo.h5 is a subset product.
The current version of lookup_geo2radar.py does not support subset file of geometryGeo.h5.
Regarding to tqdm, sure, we can replace it with ptim.progressBar if we want to keep using it.
Yunmeng
Thank you @ymcmrs for the checking. This is very helpful: I thought the script is not working ;) Since you are using it, it is useful to keep it as it is then.
I would suggest either adding the support or printing out a message saying "subset dataset is NOT supported" in this scenario.
Regarding to tqdm, sure, we can replace it with ptim.progressBar if we want to keep using it.
Yes please, whenever you got a chance.
Description of the problem
Hi @ymcmrs, the
lookup_geo2radar.py
does not seem working for me, as shown in the error message below. Are you actively using this script? If not, we should either move this script tomintpy/legacy
folder or remove it from the repo?This script is using
tqdm
for the progress bar. Is it possible to replace it usage withmintpy.utils.ptime.progressBar
object instead, to avoid this extra dependency?Full script that generated the error
Full error message
System information