fdetsch / MODIS

Download and processing framework for MODIS imagery. The package provides automated access to the global online data archives LP DAAC, LAADS and NSIDC as well as processing capabilities such as file conversion, mosaicking, subsetting and time series.
Other
58 stars 27 forks source link

-fixing params for factor variables #100

Closed hubert-thieriot closed 3 years ago

hubert-thieriot commented 3 years ago

Factor index rather than value was used for parameters given to gdal_utils.

For instance, Geotiff driver was replaced with '79' (its rank in GDAL output drivers) in the arguments passed to gdal_utils leading to an error. Using as.character prevents that behaviour.

fdetsch commented 3 years ago

I believe this has been fixed with #96. Can you please try with the develop version first?

hubert-thieriot commented 3 years ago

Absolutely, sorry for missing this. And thanks for the great work!

fdetsch commented 3 years ago

No worries, glad this is being tested.