[GRASS-dev] ​GSoC 2018 report week 03 - GRASS GIS module for Sentinel-2 cloud and shadow detection

Nikos Alexandris nik at nikosalexandris.net
Mon Jun 4 15:26:29 PDT 2018


* Roberta Fagandini <robifagandini at gmail.com> [2018-06-04 18:42:47 +0200]:

>>> Done! I added the folder to my github repository but I have some trouble
>>> compiling the module with g.extension:
>>>
>>> g.extension extension=i.sentinel.mask operation=add url=
>>> https://github.com/RobiFag/GRASS_clouds_and_shadows
>>>
>>> error message:
>>> g.extension extension=i.sentinel.mask operation=add url=
>>> https://github.com/RobiFag/GRASS_clouds_and_shadows
>>> Fetching <i.sentinel.mask> from <
>>> https://github.com/RobiFag/GRASS_clouds_and_shadows/archive/master.zip>
>>> (be
>>> patient)...
>>> Compiling...
>>> make[1]: *** No rule to make target `/tmp/grass7-roberta-701
>>> 4/tmpe7QEso/i.sentinel.mask/scripts/i.sentinel.mask', needed
>>> by `script'. Stop.
>>> /bin/sh: 1: cannot create /usr/lib/grass74/error.log:
>>> Permission denied
>>> make: *** [i.sentinel.mask] Error 2
>>> ERROR: Compilation failed, sorry. Please check above error messages.
>>>
>>> any suggestion?
>>>
>>
>> Maybe irrelevant, but perhaps it is best to name the script as
>> `i.sentinel.mask.py`?
>
>
>I named the file as you suggested but I still have some problems, now the
>error message is:
>
>Fetching <i.sentinel.mask> from <
>https://github.com/RobiFag/GRASS_clouds_and_shadows/archive/master.zip> (be
>patient)...
>Compiling...
>Installing...
>make: *** No rule to make target `install'. Stop.
>WARNING: Installation failed, sorry. Please check above error messages.

It compiles locally. Yet I didn't manage to get it via `g.extension`.
Patch of minor importance attached.

Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Minor-wording-modifications.patch
Type: text/x-diff
Size: 1705 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180605/8bad161f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20180605/8bad161f/attachment.sig>


More information about the grass-dev mailing list