[GRASS-user] Computing continuous dry spell from strds

2023-10-13 Thread Sajid Pareeth via grass-user
Dear all I have a temporal database of daily gridded rainfall for the last 40 years. I want to find: 1. Number of times (count) the rainfall was 0 for 'atleast' *continuous *10 days in each year, in 5 years etc. 2. Max number of continuous (> 10days) dry days (rainfall=0) per year, per 5 years

Re: [GRASS-user] Error with installing addons in Windows

2021-08-13 Thread Sajid Pareeth
.find_program > ) > > Hope that helps a bit (though it may be late for your course). > > Cheers > Stefan > -- > *Fra:* grass-user på vegne av Sajid > Pareeth > *Sendt:* torsdag 29. juli 2021 16:48 > *Til:* GRASS user list > *Emne:* [GRASS-user] Error with installing a

[GRASS-user] Error with installing addons in Windows

2021-07-29 Thread Sajid Pareeth
Dear all While installing an addon using g.extension in Windows 10, gives the following error. "ERROR: Cannot open URL: http://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7. > 8.6RC1/r.series.lwr.zip" I see that the addons for 7.8.5 are accessible:

Re: [GRASS-user] Using grass libraries in python outside of GRASS

2020-07-29 Thread Sajid Pareeth
Hi > > > The model I need to use (which I did not write) requires python 2.7. > > > I had tried pip install previously but then it still fails with > ImportError: No module named grass.script. > > > Do you know what could be causing that? > > Interestingly, our docker containers just started to

Re: [GRASS-user] r.hants and r.series.lwr in Windows

2020-06-26 Thread Sajid Pareeth
Dear Helmut Thank you for testing and finding the issue. Both commands work well without infinity in Windows. Big help for continuing to use GRASS GIS in Windows for the course. I have opened an issue in github. Regards Sajid On Fri, Jun 26, 2020 at 11:05 AM Helmut Kudrnovsky wrote: >

[GRASS-user] r.hants and r.series.lwr in Windows

2020-06-19 Thread Sajid Pareeth
Hallo I am trying to establish a workflow to gapfill temporal maps using r.hants and r.series.lwr. It is important that the solution also works in windows for the teaching. The issue I am encountering is that both r.hants and r.series.lwr are returning 0 values in Windows with a majority of the

Re: [GRASS-user] Calling all imagery (especially i.maxlik and i.smap) users

2020-05-06 Thread Sajid Pareeth
Hi Maris Thank you for bringing this topic. #2 Should i.maxlik add its output to the group? > Current implementation of i.maxlik adds classification result to the > input group [2]. This prevents use of i.maxlik with imagery group from > other mapset. I would vote to remove such feature. If you

Re: [GRASS-user] WinGRASS addons partly back

2019-09-04 Thread Sajid Pareeth
Thanks Martin, It works now. Regards Sajid On Tue, Sep 3, 2019 at 9:39 PM Helmut Kudrnovsky wrote: > Martin Landa wrote > > Hi, > > > > after long time when WinGRASS builds were broken (since May 2019) I > > have some good news. I pushed yesterday locally built WinGRASS addons > > for latest

Re: [GRASS-user] (no subject)

2018-12-06 Thread Sajid Pareeth
Dear Shivam rai There is no module called "d.tile", So it won't work. What did you try with d.what.rast? Please post the command you tried !! Regards Sajid On Thu, Dec 6, 2018 at 9:38 AM SHIVAM RAI wrote: > Hi, > please don't delay. > please answer the question that i have asked recently >

Re: [GRASS-user] r.tile behaviour

2018-11-07 Thread Sajid Pareeth
gt; > That should be relatively easy to fix. > > Markus M > > > > HTH, > > Vero > > > > [1] > https://trac.osgeo.org/grass/browser/grass/trunk/raster/r.tile/main.c#L101 > > > > El mié., 7 nov. 2018 a las 15:08, Sajid Pareeth () > escribió:

[GRASS-user] r.tile behaviour

2018-11-07 Thread Sajid Pareeth
Hi all The r.tile module don't have overwrite flag, so if we re run the module with different parameters but with same output prefix name, then it will rewrite output with out warning. Is this intentional? Another point is, if I use overlap option it adds double the overlap cells to the output

Re: [GRASS-user] in need of Help

2018-05-29 Thread Sajid Pareeth
Hi Have you followed the tutorial available in this link prepared by Yann: https://trac.osgeo.org/grass/browser/grass-promo/tutorials/grass_landsat_ETa Also attached the pdf with this email. It gives you an overall picture on how to use ET modules in GRASS GIS to estimate actual ET. Please

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-21 Thread Sajid Pareeth
> > > > On Thu, Dec 21, 2017 at 8:18 AM, Stefan Blumentrath < > stefan.blumentr...@nina.no> wrote: > > > > Thanks Markus, > > > > As a next try I updated my gcc and g++ to 5.4.1 (on Ubuntu 14.04) and I > applied your compiler flags, Markus. > > Unfortunately, I still get only NULL cells in

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-20 Thread Sajid Pareeth
Hi Stefan I tested your data in different versions. Now, I compiled both GRASS 7.4 and 7.5 on Ubuntu 14.04 (gcc (Ubuntu > 4.8.4-2ubuntu1~14.04.1) 4.8.4). > I get the same output (with numbers) for both compiled 7.4 and 7.5 in Ubuntu 16.04.3 LTS (gcc version 5.4.0 20160609 (Ubuntu

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
> > g.version > GRASS 7.2.2 (2017) > GRASS 7.2.2 (SB):~/work/tmp/Blumentrath > cat p6s.txt > 25# originally 25 > > 9 5 10.6728 10.73413 59.90647 > 4 > 3 > 50 > -0.055 > -1000 > 165# original 173 > GRASS 7.2.2 (SB):~/work/tmp/Blumentrath > i.atcorr --v -r --o > input=S2A.B08 elev=dem

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
Hi > but I get only NULL values also for those data and settings and when > running i.atcorr in GRASS 7.4.0RC1. > That's strange !!! > I stumbled over the following line in i.atcorr output (see full verbose > output below): > > *view zenith angle: 0.00 deg view azimuthal angle:

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
Hi >> >> Would you be able to provide me with the 1000 X 1000 clip of your data, >> so I can check if it is my installation? >> > here it is, including the dem and parameters text file: (epsg:32632) http://scientificpubs.com/data_share/sen2data.tar.gz Sajid

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
ntrath > *Sent:* tirsdag 19. desember 2017 15.24 > *To:* Sajid Pareeth <spare...@gmail.com> > *Cc:* GRASS user list <grass-user@lists.osgeo.org> > > *Subject:* Re: [GRASS-user] i.atcorr with Sentinel2 > > > > Dear Sajid, > > > > Thanks so much for you

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
To add, I have used the input as such with out applying the quantification value. >> >> >> >> >> 6s file: >> >> 25- geometrical conditions=Sentinel-2A >> >> 9 5 10.6728 10.73413 59.90647- month day hh.ddd longitude >>

Re: [GRASS-user] i.atcorr with Sentinel2

2017-12-19 Thread Sajid Pareeth
Dear Stefan I have applied i.atcorr to many S2A scenes last year and it worked. Today I rechecked them again, and it worked on a older svn version (7.3) and also on the latest trunk version. All the steps I have taken is similar to what you have done, so I dont really know whats going wrong with

Re: [GRASS-user] imagery data: geometry shift validation

2017-12-04 Thread Sajid Pareeth
Hi Martin thanks, very interesting! BTW, is the bash script somewhere accessible > as a plain text file (mdpi offers only images :-(, eg. [1])? > Attached those scripts given in the paper. I haven't provided them in any public repo yet. regards Sajid AppendixA.py Description: Binary data

Re: [GRASS-user] imagery data: geometry shift validation

2017-12-04 Thread Sajid Pareeth
Hi Martin We did similar work to correct the geometry shift of time series of AVHRR data. Entire workflow was developed in GRASS GIS except for the homologous point extraction, for which we used SIFT algorithm implemented in Orfeo Toolbox. You can find the details in this paper [1] including the

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-12-02 Thread Sajid Pareeth
Hi again > > > > Standalone winGRASS > > would you mind to open a ticket where we list such differences between > standalone/OSGeo4W, between trunk and stable winGRASS? > Yes, those msys tools are not packaged with standalone winGRASS. Do you think it is a packaging issue or not supposed to be

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-12-02 Thread Sajid Pareeth
Dear Helmut Thank you for the detailed reply. It really helped and finally I am able to run the unix based commands/scripts in GRASS in windows. So as you said, the key is to install GRASS from OSgeo4W installer, install msys too along with GRASS. The best part is bash.exe in msys/bin, which

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-12-02 Thread Sajid Pareeth
Dear Moritz > Can't this be configured with the environment variable GRASS_SH ? I tried it, but GRASS crashes with warning about unsupported shell, and "LOCATION_NAME variable not set" error. I think it require more settings than just the GRASS_SH variable. Regards Sajid

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-24 Thread Sajid Pareeth
> OSGeo4W-winGRASS or standalone winGRASS? maybe something with packaging? > Standalone winGRASS ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-24 Thread Sajid Pareeth
Dear Helmut > I use this bundled unix tools here all the time in winGRASS. sometime you > can the use the windows equivalennt of these tools. > Now I see these tools with the daily build version of GRASS GIS 7.5.svn. Thanks for the tip. Though these are not available with the current stable

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
On Thu, 23 Nov 2017 at 18:06, Helmut Kudrnovsky wrote: > >> I use this bundled unix tools here all the time in winGRASS. sometime > you > >> can the use the windows equivalennt of these tools. > > > > > >Did you installed these bundled unix tools separately? > > no, these

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
Hi Helmut Thank you for your detailed answer. That's interesting, I know significant improvement in this regard with Windows 10, but was not aware of this in Win 7. The issue is none of these commands are available with the Windows 7 we have (laptops are provided pre-installed with some

Re: [GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
On Thu, Nov 23, 2017 at 4:22 PM, Helmut Kudrnovsky wrote: > >But for command line, Is there anything better than cmd.exe? > > what is missing in MS cmd? > It is not user friendly compared to UNIX shell. For example copy and paste is complicated there or tab completion. What I am

[GRASS-user] GRASS GIS and alternative command line terminals in Windows

2017-11-23 Thread Sajid Pareeth
Hi all I need to teach students GRASS GIS in Windows 7. Of course the GUI part works and all good. But for command line, Is there anything better than cmd.exe? There are many Console emulators available now a days, like Cmder ( http://cmder.net/) and ConEmu (https://conemu.github.io/) in

Re: [GRASS-user] Color equalization after patching/mosaicking the satellite data from multiple scenes

2017-01-01 Thread Sajid Pareeth
Hi Nikos, Thank you for the reply. some normalisation, before patching, is what "needs" to be done, I think. > Relative > normalisation here (either for images of different dates over the same > area, or neighbouring images of the same date). > Yes I also agree with that, I tried doing

Re: [GRASS-user] Extracting vegetation phenology from Landsat-based time series

2016-11-29 Thread Sajid Pareeth
Thanks Markus, Will try it soon. Sajid On Mon, Nov 28, 2016 at 9:03 AM, Markus Metz wrote: > There is a new addon r.seasons which determines the number of seasons per > pixel and extracts start and end dates for the given number of seasons from > a time series.

Re: [GRASS-user] importing Mars DEM takes too long

2016-11-19 Thread Sajid Pareeth
Hi Anna I am not sure if it is related, but I had similar issues with Sentinel JP2 files. The solution was to use the ECW library to read the JP2 files instead of JP2OpenJPEG/JPEG-2000 driver with OpenJPEG library. I had to recompile gdal to add the ECW support. ## Add ECW support to GDAL

[GRASS-user] Retaining the raster name, while exporting a group to other formats

2016-11-10 Thread Sajid Pareeth
Hi all I am exporting a group of rasters to single stacked GTiff and ENVI format files. Here is my group: i.group S2A_OPER_MSI_L1C_TL_MTI__20160810T122618_A005911_T30SWJ_10m -l group references the following raster maps -

Re: [GRASS-user] Extracting vegetation phenology from Landsat-based time series

2016-10-31 Thread Sajid Pareeth
Hi Markus > > [ currently trying to get a grip on MODIS version 6 time series ] > > In theory, extracting seasons such as cropping cycles is quite easy to > implement: whenever a parameter in a time series is above/below a > given threshold, start/stop the season. The question is how to store >

Re: [GRASS-user] Extracting vegetation phenology from Landsat-based time series

2016-10-31 Thread Sajid Pareeth
ris: >>>> >>>> is there a GRASS-native, of GRASS-friendly, practical tool or tutorial >>>>>> or implementation of models, as in the TIMESAT [0] software or SPIRITS >>>>>> [1], to exctract phenological parameters from NDVI (or, preferrably >>

Re: [GRASS-user] Extracting vegetation phenology from Landsat-based time series

2016-10-30 Thread Sajid Pareeth
Dear Nikos I was also looking for the same functionalities very recently. Closest solution i could find is the 'greenbrown' package in R. Atleast we could make use of the GRASS-R interface to implement the work flow. Phenology function in this package has a good comprehensive list of functions

Re: [GRASS-user] Auto-detection of GCP for rectifying image

2016-10-08 Thread Sajid Pareeth
Hi Johannes > However, as I want to automatize the step of rectifying/georeferencing I >> am looking for a way to autodetect these six points in the image. I am >> thinking of tools like pattern/face recognition that are able to >> autodetect objects (e.g. eyes, points etc.) and extract their

Re: [GRASS-user] create location from CLI

2016-09-06 Thread Sajid Pareeth
Hi > >I'm trying to understand the simplest way in GRASS7 to create a > location from the command line without using a georeferenced file. So far, > it appears to be > > % grass70 -c newLocation > Did you try parsing the EPSG code of the location you want to create? For example: grass71

Re: [GRASS-user] new addon for multivariate surface interpolation from sparse points with smoothing

2016-08-25 Thread Sajid Pareeth
Hi Markus Thank you for this excellent addon. I was testing it with some trmm data, and getting this error with default "thin" value of 1.5. ERROR: knn: inserting duplicate Then if I increase the thinning factor, it works, but the algorithm thinned out quite a lot of points. Any lead would be

Re: [GRASS-user] use of g.list inside r.mapcalc expression

2016-06-15 Thread Sajid Pareeth
Hi Vero If I got you right, may be this could be a better approach, #Assuming you are using MOD13Q1 product, and for example maps from MOD13Q1.A2015353.h18v05.006.2016007180711.hdf; map=`g.list rast pat=MOD13*_EVI` for tile in ${map}; do ## Put the common part (In this case -

[GRASS-user] Fwd: i.atcorr: Returns empty raster

2016-03-19 Thread Sajid Pareeth
Missed the list -- Forwarded message -- From: Abhishek Manandhar <abhishek.ad...@gmail.com> Date: Thu, Mar 17, 2016 at 1:38 PM Subject: Re: [GRASS-user] i.atcorr: Returns empty raster To: Sajid Pareeth <spare...@gmail.com> -I checked the region and it matches with th

Re: [GRASS-user] i.spec.sam error

2016-02-14 Thread Sajid Pareeth
uot;. > C:\Program Files\RStudio\bin\rstudio.exe > Regards -- Sajid Pareeth https://it.linkedin.com/in/spareeth ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Need help in reprojecting raster images

2015-09-23 Thread sajid pareeth
Hi Uttam If I understand you correctly you want to reproject a landsat image from sinusoidal to laea projection!! You dont have to manually set the bounding box while reprojecting a raster, as GRASS will take care of it. First you create a new location and mapset with desired output projection ,

Re: [GRASS-user] Questions on TGRASS; t.rast.gapfill , GRASS 71

2015-02-16 Thread sajid pareeth
the where condition. Best regards Soeren 2015-02-05 19:23 GMT+01:00 sajid pareeth spare...@gmail.com: Hi I am trying to use the module t.rast.gapfill to fill the gaps in my temporal datasets. I have couple of doubts on getting my tasks done. I am using GRASS 71 svn, latest. ##Q1

[GRASS-user] Questions on TGRASS; t.rast.gapfill , GRASS 71

2015-02-05 Thread sajid pareeth
Hi I am trying to use the module t.rast.gapfill to fill the gaps in my temporal datasets. I have couple of doubts on getting my tasks done. I am using GRASS 71 svn, latest. ##Q1: In my temporal data , there are multiple continuous gaps. In this case, I am not getting the interpolated results.