Skip to content

Error trying to download images via earthdata #1

@breylla

Description

@breylla

Hello!
This is the first time I've used your code, so I may have missed something. I want to download SeaWiFS and ModisAqua images and I used the examples you indicated and modified them as necessary. Example:

python getOC.py -i SeaWiFS -l L3m coordenadas_e_datas_getoc.csv -u earthdata-username -w -p CHL --res 4km
python getOC.py -i MODIS-Aqua -l L3b coordinates_e_datas_getoc.csv earthdata-username -p CHL -b DAY --res 4km -w

I built a csv file similar to the one you present.

When I try to give the command, I type the password and then this error appears:

PM Query SeaWiFS level L3m CHL on cmr
Traceback (most recent call last):
File "D:\path\getOC.py", line 888, in
pois = get_image_list_cmr(points_of_interest, access_platform, query_string, options.instrument,
File "D:\path\getOC.py", line 574, in get_image_list_cmr
logger.info('[%i/%i] Querying %s %s %s on CMR %s %.5f %.5f' %
TypeError: must be real number, not str

I know it's something simple, but I can't fix this error.

Translated with DeepL.com (free version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions