Skip to content

Commit

Permalink
log gcp shape
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenwh committed May 16, 2024
1 parent d0d4f72 commit a7c92af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nansat/mappers/sentinel1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json
import logging
import numpy as np
from dateutil.parser import parse
try:
Expand Down Expand Up @@ -154,6 +155,9 @@ def test2(gcp_dim):

gcp_y, gcp_x = test1(gcp_y, gcp_x)

logging.debug("GCPY size: %d" % gcp_y)
logging.debug("GCPX size: %d" % gcp_x)

if gcp_y*gcp_x != pixel.size:
raise ValueError("GCP dimension mismatch")

Expand Down

0 comments on commit a7c92af

Please sign in to comment.