Skip to content

view.py numInvIfgram.h5 error for RidgecrestSenDT71 #1185

@yunjunz

Description

@yunjunz
          @yunjunz here is [a link](https://ffwilliams2-shenanigans.s3.us-west-2.amazonaws.com/mintpy/RidgecrestSenDT71.tar.xz) to a descending 71 track version of the data.

The main smallbaselineApp run works great, but I noticed that there is an issue running smallbaselineApp.py --plot at the end of processing that I haven't seen before. Running the sub-command:

view.py --dpi 150 --noverbose --nodisplay --update --memory 4.0 numInvIfgram.h5 --mask no

Results in an error within the matplotlib axis tick functionality:

  File "lib/python3.11/site-packages/matplotlib/ticker.py", line 799, in _set_format
    loc_range_oom = int(math.floor(math.log10(loc_range)))
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot convert float NaN to integer

Have you come across this one before?

For now, I've disabled plotting in the configuration document, so we don't encounter the error when running the standard smallbaselineApp.py, but we may want to circle back to this at some point.

Originally posted by @forrestfwilliams in #1182 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions