I’m trying to create a rast3d map. I’ve done this before using the MODIS maps that some with the SC demo data. I’m now doing this with 12 monthly precipitation maps from a different locale. And I’m getting a weird error.
I’ve set the horizontal region to match the 1km resolution precipitation maps and the TB resolution to give me 12 layers.
g.region raster=CHELSA_pr_01_2021SP@PERMANENT format=plain
g.region -p -3 t=120000 b=0 tbres=10000 format=plain
I then try to create a rast3d map with the 12 monthly precipitation maps
r.to.rast3 input=CHELSA_pr_01_2021SP,CHELSA_pr_02_2021SP,CHELSA_pr_03_2021SP,CHELSA_pr_04_2021SP,CHELSA_pr_05_2021SP,CHELSA_pr_06_2021SP,CHELSA_pr_07_2021SP,CHELSA_pr_08_2021SP,CHELSA_pr_09_2021SP,CHELSA_pr_10_2021SP,CHELSA_pr_11_2021SP,CHELSA_pr_12_2021SP output=CHELSA_pr_2021SP_r3d --o
And I get this error. I’ve not seen this before. I have a LOT of RAM
Unable to open input file </Users/cmbarton/ASU Dropbox/C Michael Barton(ASU)/GRASS_dropbox/grassdata_dropbox/Brazil_SIRGAS2000_EPSG5880/PERMANENT/cell_misc/CHELSA_pr_12_2021SP/f_format>:
Too many open files
What am i missing here?
I’m using GRASS 8.5dev on a Mac ARM with 64Gb RAM
Michael
Never mind. Now it works. ???
Hi Michael, perhaps the process is opening too many files for your OS. You could try running this in the terminal to raise the limit:
ulimit -S -n 50000
On Tue, May 12, 2026 at 1:08 PM Michael Barton <noreply@discourse.osgeo.org> wrote:
I’m trying to create a rast3d map. I’ve done this before using the MODIS maps that some with the SC demo data. I’m now doing this with 12 monthly precipitation maps from a different locale. And I’m getting a weird error.
I’ve set the horizontal region to match the 1km resolution precipitation maps and the TB resolution to give me 12 layers.
g.region raster=CHELSA_pr_01_2021SP@PERMANENT format=plain
g.region -p -3 t=120000 b=0 tbres=10000 format=plain
I then try to create a rast3d map with the 12 monthly precipitation maps
r.to.rast3 input=CHELSA_pr_01_2021SP,CHELSA_pr_02_2021SP,CHELSA_pr_03_2021SP,CHELSA_pr_04_2021SP,CHELSA_pr_05_2021SP,CHELSA_pr_06_2021SP,CHELSA_pr_07_2021SP,CHELSA_pr_08_2021SP,CHELSA_pr_09_2021SP,CHELSA_pr_10_2021SP,CHELSA_pr_11_2021SP,CHELSA_pr_12_2021SP output=CHELSA_pr_2021SP_r3d --o
And I get this error. I’ve not seen this before. I have a LOT of RAM
Unable to open input file </Users/cmbarton/ASU Dropbox/C Michael Barton(ASU)/GRASS_dropbox/grassdata_dropbox/Brazil_SIRGAS2000_EPSG5880/PERMANENT/cell_misc/CHELSA_pr_12_2021SP/f_format>:
Too many open files
What am i missing here?
I’m using GRASS 8.5dev on a Mac ARM with 64Gb RAM
Michael
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
Thanks Brendan.
I was running it in the terminal, though I did not set ulimit. I then tried it with 6 files instead of 12. And finally in the GUI too.
It failed with the error message every time, until I wrote to the list. Then it ran :-/
Michael
Michael Barton
On May 12, 2026, at 11:27 AM, Brendan Harmon noreply@discourse.osgeo.org wrote:
Hi Michael, perhaps the process is opening too many files for your OS. You could try running this in the terminal to raise the limit:
ulimit -S -n 50000
On Tue, May 12, 2026 at 1:08 PM Michael Barton <noreply@discourse.osgeo.org> wrote:
I’m trying to create a rast3d map. I’ve done this before using the MODIS maps that some with the SC demo data. I’m now doing this with 12 monthly precipitation maps from a different locale. And I’m getting a weird error.
I’ve set the horizontal region to match the 1km resolution precipitation maps and the TB resolution to give me 12 layers.
g.region raster=CHELSA_pr_01_2021SP@PERMANENT format=plain
g.region -p -3 t=120000 b=0 tbres=10000 format=plain
I then try to create a rast3d map with the 12 monthly precipitation maps
r.to.rast3 input=CHELSA_pr_01_2021SP,CHELSA_pr_02_2021SP,CHELSA_pr_03_2021SP,CHELSA_pr_04_2021SP,CHELSA_pr_05_2021SP,CHELSA_pr_06_2021SP,CHELSA_pr_07_2021SP,CHELSA_pr_08_2021SP,CHELSA_pr_09_2021SP,CHELSA_pr_10_2021SP,CHELSA_pr_11_2021SP,CHELSA_pr_12_2021SP output=CHELSA_pr_2021SP_r3d --o
And I get this error. I’ve not seen this before. I have a LOT of RAM
Unable to open input file </Users/cmbarton/ASU Dropbox/C Michael Barton(ASU)/GRASS_dropbox/grassdata_dropbox/Brazil_SIRGAS2000_EPSG5880/PERMANENT/cell_misc/CHELSA_pr_12_2021SP/f_format>:
Too many open files
What am i missing here?
I’m using GRASS 8.5dev on a Mac ARM with 64Gb RAM
Michael
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.
Visit Topic or reply to this email to respond.
In Reply To
I’m trying to create a rast3d map. I’ve done this before using the MODIS maps that some with the SC demo data. I’m now doing this with 12 monthly precipitation maps from a different locale. And I’m getting a weird error. I’ve set the horizontal region to match the 1km resolution precipitation maps …
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here.