Skip to content

🐛[BUG]: SuperResolution example fails with HTTP Error 308 #271

@ariellubonja

Description

@ariellubonja

Version

2.2.0

On which installation method(s) does this occur?

Source

Describe the issue

Running examples/super_resolution/super_resolution.py fails with Error 308 fault detected [no subcode]

Minimum reproducible example

(install physicsnemo-sym from source)
cd examples/super_resoution
python3 super_resolution.py

Relevant log output

  0%|                                                                            | 0/512 [00:00<?, ?it/s]0: Error 308 fault detected [no subcode]
"HTTP Error"
Detail: [no detail]


  0%|                                                                            | 0/512 [00:00<?, ?it/s]
Error executing job with overrides: []
Traceback (most recent call last):
  File "/home/ariel/prog/physicsnemo-sym-original-308/examples/super_resolution/jhtdb_utils.py", line 87, in get_jhtdb
    results = np.load(file_dir)
              ^^^^^^^^^^^^^^^^^
  File "/home/ariel/prog/physicsnemo-sym-original-308/.venv/lib/python3.12/site-packages/numpy/lib/_npyio_impl.py", line 451, in load
    fid = stack.enter_context(open(os.fspath(file), "rb"))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/ariel/prog/physicsnemo-sym-original-308/examples/super_resolution/datasets/jhtdb_training/jhtdb_field_u_time_step_511_start_366_383_323_end_493_510_450_step_1_1_1_filter_width_1.npy'

Environment details

Other/Misc.

I am one of the maintainers of JHTDB and am working on a PR to resolve this issue. This is caused by a change in the API on our end

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions