Comments (5)
from dascore.
Hi Rosie did you try to make the location a txt variable and link. I use import os it for other applications. is the cluster Linux? did you try chmod? import os file_path = "/path/to/your/file" # Check if the file exists if os.path.exists(file_path): # Change the permissions of the file # Set the permission to read-write for owner, and read for group and others os.chmod(file_path, 0o644) else: print(f"The file {file_path} does not exist")
…
On Mon, Apr 24, 2023 at 12:52 Rosie Zhu @.> wrote: Hello, I wonder if I can save the index file to a specified location, instead of in the folder. I'm working on a cluster and writing to the data folder needs more permission. Thank you! Rosie — Reply to this email directly, view it on GitHub <#129>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECSZMGKKB3PMIFPXTKSO73XC24VTANCNFSM6AAAAAAXJ5HSCE . You are receiving this because you are subscribed to this thread.Message ID: @.>
Hi Burak!
Thanks for the response! I think I can get the permission if I need to, I'm just trying to avoid writing to the original data folder.
Rosie
from dascore.
HI @RosieZhu ,
Yes, this would be a useful feature. We are having a similar discussion about this feature in ObsPlus here.
It shouldn't be a lot of work, I think patch
would just have an optional index_path
argument. I won't be able to get to it until the end of the semester though, in a bit of a time crunch right now.
from dascore.
from dascore.
closed by #131
from dascore.
Related Issues (20)
- cant extract dft patch from spool
- spool indexing progress bar takes a longer time than actual indexing HOT 1
- Waterfall plot with timedelta coordinate fails
- coord error for stop>start and negative step
- Python 3.12 conda installation error HOT 3
- Scan not robust to corrupted file
- Cant remove units with set_units(None)
- Converting example event to obspy fails
- Conda installation issues HOT 8
- Indexing a folder with a subfolder that a user does not have permission to access
- `to_float` time util doesnt work with `Series`
- Better control of merging from spool.chunk HOT 1
- spool.select doesn't support relative argument
- Attrs.update(coord=...) doesnt update dims
- Cross references in note section broken
- timedelta's should work with units HOT 2
- Enforce int dtypes in select when samples is True HOT 1
- spool with zero patches for binary data HOT 3
- spool.chunk raises a KeyError although all required columns are presented in the spool dataframe HOT 5
- patch.dft() does not change data_type HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dascore.