Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 162445

Python is an open source interpreted programming language used in many GIS programs.

1 vote
2 answers
2k views

Define projection of TIFF file when exporting from Python

As far as I can understand, my problem is that the longitude and latitude is not saved as the projection when I save it to TIFF file in Python, but it uses the dimensions of array as the projection coordinates …
Idalh's user avatar
  • 61
1 vote

Define projection of TIFF file when exporting from Python

So with a lot of help I came up with this to solve the problem using gdal: gdalwarp -wm 2000 -s_srs "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" -t_srs "EPSG:4326" -tr 1100 -1100 -te -80950.00 …
Idalh's user avatar
  • 61
0 votes

Reprojecting unequal number of latitude and longitude: pyproj.exceptions.ProjError: x, y, z,...

Thanks to the comment from Martin, I did what he suggested first. I guess there is no way to just reproject latitude and longitude seperately and not if they are uneven. x1 = precip.lon.values …
Idalh's user avatar
  • 61
1 vote
1 answer
4k views

Reprojecting unequal number of latitude and longitude: pyproj.exceptions.ProjError: x, y, z,...

_transform pyproj.exceptions.ProjError: x, y, z, and time must be same size Does anyone know how I can transform from PCS to GCS with Python without having equal amount of latitude and longitude values …
Idalh's user avatar
  • 61