-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Tried to run the example with ACTPol_148_D5_PA1_S1_1way_I.fits from https://lambda.gsfc.nasa.gov/product/act/actpol_maps_get.html
I get an error in the shape of the arrays:
python fits.py create ACTPol_148_D5_PA1_S1_1way_I.fits ACTPol_148_D5_PA1_S1_1w
ay_I
Traceback (most recent call last):
File "/home/zonca/p/software/tilemaker/example/fits.py", line 48, in <module>
tree = LayerTree(number_of_layers=number_of_layers, image_pixel_size=tile_size, image=fits_image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zonca/p/software/tilemaker/tilemaker/processing/fits_simple.py", line 422, in __init__
layer.create_data_from_children()
File "/home/zonca/p/software/tilemaker/tilemaker/processing/fits_simple.py", line 382, in create_data_from_children
node.create_data_from_children()
File "/home/zonca/p/software/tilemaker/tilemaker/processing/fits_simple.py", line 310, in create_data_from_children
data_buffer[covered_region] = 0.25 * child_data
~~~~~~~~~~~^^^^^^^^^^^^^^^^
ValueError: could not broadcast input array from shape (667,675) into shape (674,675)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels