Failed cross granule inputs of VIIRS-Aeros-EDR-AC-Int

Issues related to VIIRS EDR algorithms and data
Post Reply
jhuangadl
Posts: 142
Joined: Fri Apr 29, 2011 7:57 am

Failed cross granule inputs of VIIRS-Aeros-EDR-AC-Int

Post by jhuangadl »

Dear All,

I am encounting a problem that I never met before: The VIIRS aerosol algorithm is complaining about cross granule inputs of VIIRS-Aeros-EDR-AC-Int, but to my understanding the AC file is static ancillary input, how can it is related to Cross Granule Input requirements?

The error is the following:

Code: Select all

ProEdrViirsAerosolController failed to get cross granule inputs
ProCmnAlgorithm[ProEdrViirsAerosol]::handleInputQuery(NPP000284043946) [0x4315e20] ROOT PRO_CROSSGRAN_FAIL Required input not available for Shortname: VIIRS-Aeros-EDR-AC-Int , Granule ID:  Failure(s):  (VIIRS-Aeros-EDR-AC-Int, ) from file ProCmnAlgorithm.cpp, line 7967
Any kind hints from you is sincerely appreciated!

Jingfeng
jhuangadl
Posts: 142
Joined: Fri Apr 29, 2011 7:57 am

Re: Failed cross granule inputs of VIIRS-Aeros-EDR-AC-Int

Post by jhuangadl »

My new tests indicate that this might be related to the granule too old. The granule I used was 20120915_t1806. I tested the code changes with a new granule on 20140727 and everything went through smoothly. Why a 2012 granule won't work with such a cross granule input requirement of VIIRS-Aeros-EDR-AC-Int? Still not quite understand it.
tsimpson
Posts: 23
Joined: Wed Apr 02, 2014 9:23 am
Location: Riverdale, MD, USA

Re: Failed cross granule inputs of VIIRS-Aeros-EDR-AC-Int

Post by tsimpson »

The AC file is not related to Cross Granule input requirements, and I'm trying to figure out why you saw this error. The age of the granule could be important, but the algorithm should be giving you a PRO_FAIL (not PRO_CROSSGRAN_FAIL) error message if the granule is too old relative to the VIIRS-Aeros-EDR-AC-Int.

Could you try the following:

(1) Make sure the VIIRS-Aeros-EDR-AC-Int is effective at the time of the granule from 20120915_t1806. Look for "Effectivity" in the metadata file for VIIRS-Aeros-EDR-AC-Int. There will be a line that has two date/time strings. It will look something like this:

("Effectivity" DATETIMERANGE EQ "2002-01-01 01:00:00.000000" "2029-12-31 23:59:57.000000")

Change the file if necessary so that the first date/time is anything before 2012-09-15 18:06:00.000000, and the second date/time is 2029-12-31 23:59:57.000000.

(2) Run the algorithm again with the granule from 20120915_t1806 and upload the log file to this forum.

This should help me track down the source of the PRO_CROSSGRAN_FAIL error.

Thanks,
Todd
Todd Simpson
Raytheon Company
jhuangadl
Posts: 142
Joined: Fri Apr 29, 2011 7:57 am

Re: Failed cross granule inputs of VIIRS-Aeros-EDR-AC-Int

Post by jhuangadl »

Thank you very much, Todd,
Your scored it! ADL ran successfully after I changed the effectiveness beginning date from 2013-01-01 to 2012-08-26. It is strange though my filename as 2012-08-26 on it but the effectiveness date was not changed. I guess it was my fault anyway. Thanks a lot for all your kind and timely help!
Sincerely,
Jingfeng
Post Reply