Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.64 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.64 KB

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.