upload_to_rexcloud

subsurface.writer.to_rex.rex_api.upload_to_rexcloud(infiles: list, project_name=None, **kwargs)[source]

wrapper around api calls to upload rexfiles of a gempy model.

you will need to register an account under https://app.rexos.cloud/ . create an api key and store the key and secret in RexCloud_Api_key.txt.

the function will take a list of rexos input filenames and uploads them into a newly created project.

an ar code is plotted that can be scanned with the rexview app to show the model in vr. the qr code is plotted in ascii to the standard output, if the qr code is not recognizable, try to revert the colors o0f the terminal output by setting reverse=False in thew show_tag() Method.

all api calls are python implementation of the Rex os api: https://www.rexos.org/rex-api/#tutorial-rex-project-before-you-begin

Parameters
  • infiles – List of rexos file names

  • project_name – name of the project under which it appears in the rexcloud. if none is specified,

  • current timestamp is used. (the) –

Returns

A Rextag Object