Error Processing VIIRs - Ancillary_NASA()

Post Reply
naarring
Posts: 4
Joined: Thu Apr 28, 2022 6:16 pm
company / institution: Michigan Tech Research Institute
Location: Ann Arbor, MI

Error Processing VIIRs - Ancillary_NASA()

Post by naarring »

I am trying to process VIIRs imagery with polymer and am running into issues when running: run_atm_corr(Level1_NASA({viirs image}),
where it returns the error:
AssertionError: Directory ANCILLARY/METEO/ does not exist. Please create it, by default it will be automatically populated with ancillary data. Please see help for class Ancillary_NASA for more details.

Is there something I need to have changed in the auxdata or in another directory?

Attached is a screenshot from a Jupyter Notebook script as well.
You do not have the required permissions to view the files attached to this post.
Mengmeng
Posts: 38
Joined: Fri Mar 19, 2021 12:10 am
company / institution: Taishan University
Location: Taian, Shandong, China

Re: Error Processing VIIRs - Ancillary_NASA()

Post by Mengmeng »

Hello,

I met a similar problem before and the solution was to create those two directories using this command (on linux): "mkdir -p ANCILLARY/METEO/".

Good luck.
naarring
Posts: 4
Joined: Thu Apr 28, 2022 6:16 pm
company / institution: Michigan Tech Research Institute
Location: Ann Arbor, MI

Re: Error Processing VIIRs - Ancillary_NASA()

Post by naarring »

Where should this directory be located? Attempted this solution and the error remains.
Mengmeng
Posts: 38
Joined: Fri Mar 19, 2021 12:10 am
company / institution: Taishan University
Location: Taian, Shandong, China

Re: Error Processing VIIRs - Ancillary_NASA()

Post by Mengmeng »

This directory is under the uncompressed folder of polymer. You may try it again.

Good luck.
Mengmeng.
naarring
Posts: 4
Joined: Thu Apr 28, 2022 6:16 pm
company / institution: Michigan Tech Research Institute
Location: Ann Arbor, MI

Re: Error Processing VIIRs - Ancillary_NASA()

Post by naarring »

I still created the directory within the polymer folder and still get the same error as before. (Assertion error that the directory does not exist).
Any thoughts?
Mengmeng
Posts: 38
Joined: Fri Mar 19, 2021 12:10 am
company / institution: Taishan University
Location: Taian, Shandong, China

Re: Error Processing VIIRs - Ancillary_NASA()

Post by Mengmeng »

Can you try to create the directories mannually?
Post Reply