Skip to content

utm: Invalid value for zone #31

@sumanttyagi

Description

@sumanttyagi

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)


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions