Micha Silver
Micha_Silver@fosstodon.org
<p>I'm currently a Postdoc at Ben Gurion University (the Sde Boker campus), working with spatial data, satellite and other remote sensing imagery.</p>
Posts
-
Post #1087360
RE: https://mapstodon.space/@fionag11/116329169073374947 If we just renamed to &quot;orientation arrow&quot; would that solve the problem? The issue is with the 99% who insist N is at the top, not the addition of cartographic elements. :thinking:
-
Post #837468
#gisChat #rstats I fell into a bit of a rabbit hole, using the R package {terra} on Debian 13. Not sure where to post this so I&#39;m just throwing it out here. (TLDR, long post coming...) Debian now has defined &#39;/tmp&#39; as a ramdisk rather than an actual file system directory. I guess this has some speed advantages, and saves writes and deletes on the system disk. But it&#39;s limited to 50% of the computer RAM. So if I have 16 GB in my machine, my &quot;/tmp&q...
-
Post #837467
#gisChat #RStats For usual day-to-day use that&#39;s fine. And it all disappears at each reboot. So for most applications the system works fine. However I&#39;m running a spatial analysis process with somewhat large raster layers. Due to this tmpfs limitation, the /tmp ramdisk filled up before completing, and the process failed. (I had to manually delete the stale files in /tmp/Rtmpxxxxxx in order to continue working). So I clearly need more /tmp space to run this analysis. 2/
-
Post #837466
#gisChat #RStats On the Debian wiki(https://www.debian.org/releases/trixie/release-notes/issues.html#the-temporary-files-directory-tmp-is-now-stored-in-a-tmpfs) there is a suggestion to revert to the &quot;old&quot; behavior of an actual &quot;/tmp&quot; directory, on the root filesystem (which would normally have much more free space than 8 GB): &quot;You can return to /tmp being a regular directory by running systemctl mask tmp.mount as root and rebooting.&quot; 3/
-
Post #837465
After years of experience trusting Debian, I merrily ran that command and rebooted, only to find that the system failed to boot. Some other services, that apparently depend on the tmpfs arrangement, failed to start, and froze the boot process! Well, now I&#39;m in a pickle. After rummaging thru my brain to decide how to solve this, out comes the USB flash disk with my Debian ISO for installing. I booted into the Live system, mounted the root file system under /mnt. 4/
-
Post #837464
Then I went into the /etc/systemd/system directory (mounted under /mnt). Sure enough &#39;tmp.mount&#39; was symlink to /dev/null. That was the result of the &#39;systemd mask...&#39; operation I had done earlier. I reset the symlink to its original value: sudo ln -sf /usr/lib/systemd/system/tmp.mount . and rebooted. Now my machine came up as usual. Whew! 5/
-
Post #837463
But what about the spatial analysis? I still have only 8 GB of temp space. Here&#39;s my workaround: R sets up a temporary directory at startup either in the system temp location(i.e. /tmp) or based on the TMPDIR environment variable. So I exported an env variable TMPDIR to a temporary directory in my home dir, then started R. Before running my script I checked &#39;tempdir()&#39; and sure enough it pointed to that temp directory. Fired off the analysis, and it completed as expected....
-
Post #837462
If anyone has some similar experience, or can shed some light how to solve this situation permanently, I&#39;d be open to suggestions. 7/