Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when creating virtual files and time series #77

Closed
dk-forestry opened this issue Jun 6, 2017 · 4 comments
Closed

Error when creating virtual files and time series #77

dk-forestry opened this issue Jun 6, 2017 · 4 comments

Comments

@dk-forestry
Copy link

I ran into an error for the products MCD12Q1 and MCD64A1. Downloading and processing seems to work fine, until this step:

Creating Virtual Files and rts time series for layer LC1

This error occurs:

Error in grep(file_prefix, out_meta_files) : object 'file_prefix' not found

Interestingly, the processing step and the following error also occur when both Create Virtual Rasters and Create RasterStacks are set to No.

I'm using version 1.3.2.9 by the way.

lbusett added a commit that referenced this issue Jun 7, 2017
Fixes issue #77 (#77) , which prevented correct creation of time series virtual files for "Combined" products such as MCD12Q1
@lbusett
Copy link
Contributor

lbusett commented Jun 7, 2017

Thanks for signaling this. A stupid bug affecting all "Combined" products (i.e., the MCD ones).

Should be solved on commit a0bb7e2

Please reinstall using install_github("lbusett/MODIStsp")

By the way: what is Product "MCD64A1" ? I don't think we have it in our "list" of available products.

@lbusett lbusett closed this as completed Jun 7, 2017
@dk-forestry
Copy link
Author

Thanks, I'm now able to download and process MCD12Q1.

MCD64A1 seems to be the collection 6-version of MCD45A1 (burned_monthly_500m). When I opened the issue, I must have gotten confused between the two products . :)

By the way, I noticed another bug for MCD45A1: no output files are generated for the layer Burn_Date (output folders are empty). Maybe this is related to this issue?

@lbusett
Copy link
Contributor

lbusett commented Jun 12, 2017

Thanks, I'm now able to download and process MCD12Q1.
Good !

MCD64A1 seems to be the collection 6-version of MCD45A1 (burned_monthly_500m). When I > opened the issue, I must have gotten confused between the two products . :)
We will look for "new" MODIS products and add them ASAP (pretty sure that one wasn't around some months ago !)

By the way, I noticed another bug for MCD45A1: no output files are generated for the > layer Burn_Date (output folders are empty). Maybe this is related to this issue?

Possible. I'll have a look. Thanks for the debugging effort ! Now that the user base is growing we are fixing an number of bugs. I hope to have a "debugged" official version out soon !

Also, we will look for "new" MODIS products and add them ASAP (pretty sure that one wasn't around some months ago !)

@lbusett lbusett reopened this Jun 12, 2017
lbusett added a commit that referenced this issue Jun 14, 2017
Changed the data type of the layer to "16-bit unsigned integer"
@lbusett
Copy link
Contributor

lbusett commented Jun 14, 2017

Hi. Should be fixed on commit a817370

(If it happens that it doesn't work, try removing the package before re-installing)

@lbusett lbusett closed this as completed Jun 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants