Skip to content

wesfloyd/bacalhau_socat_test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background

Scientific Purpose of the workload:

The Surface Ocean CO₂ Atlas (SOCAT) contains measurements of the fugacity of CO2 in seawater around the globe. But in order to calculate how much carbon the ocean is taking up from the atmosphere, these measurements need to be converted to partial pressure of CO2. We will convert the units by combining measurements of the surface temperature and fugacity. Python libraries (xarray, pandas, numpy) and the pyseaflux package facilitate this process.

References:

Running the demo

To test locally:

  1. Clone the repository
  2. Invoke the docker container:
docker run -v $(pwd)/input:/project/input \
	-v output:/project/output \
	wesfloyd/bacalwow-socat-test

To run on Bacalhau:

  1. Upload the input directory to IPFS (via Web3.storage folder upload script) cd web3storage npm install node put-files.js --token=[TOKEN] ../input

  2. Use the CID of the input directory to run the job on Bacalhau

bacalhau docker run -v bafybeibwv2ccdr5u3esjaeu4fh5b2cbgbixolk33wg4pj6t4lqvrkf7qja:/project/input \
	-o output:/project/output \
	wesfloyd/bacalwow-socat-test

bacalhau list

bacalhau describe [JOB_ID]

bacalhau get [JOB_ID]

This job will require approx 100s to complete on a Bacalhau node.

About

modifications of socat for bacalhau

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.7%
  • JavaScript 23.7%
  • Dockerfile 8.6%