Skip to content

Python embedding to read geotiff data (sentinel 3 products) #2702

Locked Answered by CPKalb
carolineowens asked this question in File I/O
Discussion options

You must be logged in to vote

Hi:

I think what may be happening here is that the grid type specification needs to have capitalization. So, for a lat/lon grid, it should look like this:
'grid': {
'type': 'LatLon',

Bot the the L's are capitalized here. When I make this change, the projection error goes away, but I get a new error:

ERROR :
ERROR : Python3_Dict::lookup_string(const char * key) -> value for key "name" not found
ERROR :

What's missing is the value of 'name' in the grid dictionary. This link provides the required input for a lat/lon grid in python embedding. The name can be whatever you want to name the grid. Scrolling down to the bullet point with LatLon in the previous lonk, the script is also missing Nlat…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@carolineowens
Comment options

@DanielAdriaansen
Comment options

@CPKalb
Comment options

@CPKalb
Comment options

Answer selected by carolineowens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment