Skip to content

How to write a COG in Python #863

Answered by omshinde
wildintellect asked this question in Data
Discussion options

You must be logged in to vote
Filename: IPCC_GEDI_Table4.7_profiled.py

Line #    Mem usage    Increment  Occurrences   Line Contents
=============================================================
    61    121.8 MiB    121.8 MiB           1   @profile
    62                                         
    63                                         def generate_output():
    64   4709.7 MiB   4587.9 MiB           1       PRIMARY = rasterio.open(args.FII_raster).read(1)
    65   4709.8 MiB      0.1 MiB           1       PRIMARY[PRIMARY <= 9600] = 0
    66   4709.8 MiB      0.0 MiB           1       PRIMARY[PRIMARY > 9600] = 1
    67                                             
    68   4709.8 MiB   -145.2 MiB           2  …

Replies: 8 comments 13 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@nehahunka
Comment options

@wildintellect
Comment options

wildintellect Nov 9, 2023
Maintainer Author

@nehahunka
Comment options

@wildintellect
Comment options

wildintellect Nov 13, 2023
Maintainer Author

@nehahunka
Comment options

Comment options

You must be logged in to vote
1 reply
@vincentsarago
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@nehahunka
Comment options

@omshinde
Comment options

@wildintellect
Comment options

wildintellect Nov 17, 2023
Maintainer Author

Comment options

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

@wildintellect
Comment options

wildintellect Nov 20, 2023
Maintainer Author

@omshinde
Comment options

Answer selected by wildintellect
@omshinde
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants