Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

utm: Invalid value for zone #31

Open
sumanttyagi opened this issue May 15, 2024 · 1 comment
Open

utm: Invalid value for zone #31

sumanttyagi opened this issue May 15, 2024 · 1 comment

Comments

@sumanttyagi
Copy link

while creating the dsm dataset i am facing below issue
python3 create_satnerf_dsm.py Sat-NeRF $pretrained_models/JAX_068 out_dsm_path/JAX_068 28 $pretrained_models/JAX_068 $dataset_dir/root_dir/crops_rpcs_ba_v2/JAX_068 $dataset_dir/DFC2019/Track3-RGB-crops/JAX_068 $dataset_dir/DFC2019/Track3-Truth

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
create_satnerf_dsm.py 135 <module>
fire.Fire(create_pretty_dsm)

core.py 141 Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)

core.py 466 _Fire
component, remaining_args = _CallAndUpdateTrace(

core.py 681 _CallAndUpdateTrace
component = fn(*varargs, **kwargs)

create_satnerf_dsm.py 88 create_pretty_dsm
save_nerf_output_to_images(dataset, sample, results, out_dir, epoch_number)

eval_satnerf.py 117 save_nerf_output_to_images
dsm = dataset.get_dsm_from_nerf_prediction(rays.cpu(), depth.cpu(), dsm_path=out_path)

satellite.py 291 get_dsm_from_nerf_prediction
easts, norths = sat_utils.utm_from_latlon(lats, lons)

sat_utils.py 108 utm_from_latlon
proj_dst = pyproj.Proj("+proj=utm +zone={}{}".format(n, l))

proj.py 109 __init__
self.crs = CRS.from_user_input(projparams, **kwargs)

crs.py 501 from_user_input
return cls(value, **kwargs)

crs.py 348 __init__
self._local.crs = _CRS(self.srs)

_crs.pyx 2378 pyproj._crs._CRS.__init__


pyproj.exceptions.CRSError:
Invalid projection: +proj=utm +zone=17R +type=crs: (Internal Proj Error: proj_create: Error 1027 (Invalid value for an argument): utm: Invalid value for zone)


@7zSun
Copy link

7zSun commented Dec 5, 2024

hi, bro! Did you solve this problem?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants