isce-framework / isce3

InSAR Scientific Computing Environment ***NOTICE - This repository is currently a mirror of an internally hosted project and is in the process of migrating the development to this public repository. In near future we will accept external pull requests.***
Other
124 stars 32 forks source link

the result of workflow for focus is right or not? #19

Closed AmazingSAR closed 6 months ago

AmazingSAR commented 6 months ago
1. I tried to run focus.py in isce3/test/data/focus/
python3 ~/install/isce3.3/packages/nisar/workflows/focus.py rslc_config.yaml

and got info message as follows

2024-02-21 16:29:53.991, WARNING, RSLC, focus, 999999, /home/amazingsar/install/isce3.3/packages/nisar/workflows/focus.py:88, "Skipping input validation."
2024-02-21 16:29:53.991, INFO, RSLC, focus, 999999, /home/amazingsar/install/isce3.3/packages/nisar/workflows/focus.py:1657, "Logging configuration to file ./rslc_config.yaml."
2024-02-21 16:29:53.999, INFO, RSLC, Raw, 999999, /home/amazingsar/install/isce3.3/packages/nisar/products/readers/Raw/Raw.py:41, "Reading L0B file /home/amazingsar/Downloads/isce3-0.19.2/tests/data/focus/REE_L0B_out17.h5"
2024-02-21 16:29:54.002, WARNING, RSLC, focus, 999999, /home/amazingsar/install/isce3.3/packages/nisar/workflows/focus.py:310, "No DEM given, using ref height 0.0 (m)."
..........
2024-02-21 16:30:08.213, INFO, RSLC, focus, 999999, /home/amazingsar/install/isce3.3/packages/nisar/workflows/focus.py:1630, "All done!"

after several seconds i got a file rslc.h5.

2. I check the file with gdal
gdalinfo '/home/amazingsar/Downloads/isce3-0.19.2/tests/data/focus/rslc.h5'

and got information as follows

Driver: HDF5/Hierarchical Data Format Release 5
Files: /home/amazingsar/Downloads/isce3-0.19.2/tests/data/focus/rslc.h5
Size is 512, 512
Metadata:
  contact=nisar-sds-ops@jpl.nasa.gov
  Conventions=CF-1.7
  institution=NASA JPL
  mission_name=NISAR
  reference_document=D-102268 NISAR NASA SDS Product Specification Level-1 Range Doppler Single Look Complex L1_RSLC
  science_LSAR_identification_absoluteOrbitNumber_description=Absolute orbit number
  science_LSAR_identification_absoluteOrbitNumber_units=1
..........

The subset

SUBDATASET_20_DESC=[129x129] //science/LSAR/RSLC/swaths/frequencyA/HH (complex, 32-bit floating-point)

seems to be the result single look complex data but I'm not sure about it. result Can anyone confirm it for me?

bhawkins-jpl commented 6 months ago

Yes, that's correct. I think you're looking at the phase, or maybe just the real part. This test image contains a single simulated point target:

rslc

AmazingSAR commented 6 months ago

@bhawkins-jpl ,Thank you very much for your reply. It has solved my question and is very important to me. Best wishes to you and forthcoming NISAR.