Using write csv processor on server
Niharika
New Altair Community Member
I am creating a process which excutes a python code which returns a dataframe .Further I am using this dataframe to write a csv which is used for building models.
Since I will be running the process on server so for the path of csv what should I mention?
My server is installed on VM .So should I give path of that folder in VM where server has been installed?
In parameters of "write csv" I am not able to figure out how to mention the server path as it shows option for my local machine.Should I just mention the path?
Since I will be running the process on server so for the path of csv what should I mention?
My server is installed on VM .So should I give path of that folder in VM where server has been installed?
In parameters of "write csv" I am not able to figure out how to mention the server path as it shows option for my local machine.Should I just mention the path?
0
Best Answer
-
You should be able to use virtual paths.
One thing we do on our side is have an equal path structure on our studio's and server so we can run on any environment without modification, but you could as well use macros of course.
For instance on Windows (running our studios) the path would be /data/something/something to store our csv's etc, and on Linux we do the same. But on windows it will be stored on C:/users/me/data and on linux on root/data 'behind the scenes'
Hope it makes some sense, all is a bit depending on the OS, but with virtual paths and some consistency you can keep it very flexible.5
Answers
-
You should be able to use virtual paths.
One thing we do on our side is have an equal path structure on our studio's and server so we can run on any environment without modification, but you could as well use macros of course.
For instance on Windows (running our studios) the path would be /data/something/something to store our csv's etc, and on Linux we do the same. But on windows it will be stored on C:/users/me/data and on linux on root/data 'behind the scenes'
Hope it makes some sense, all is a bit depending on the OS, but with virtual paths and some consistency you can keep it very flexible.5