Closed sumwmer closed 4 years ago
@summer7xinting have you checked: https://github.com/mintproject/MINT-Transformation/issues/65 ? We cannot build the image
This looks good to me. I look forward to testing it out. On our end, this requires the following tasks (I add them here for awareness)
The instructions doesn't works. https://asciinema.org/a/MxNds9Foi0BL3WlVd1QN7H9tX
In the DAME context, the user doesn't have the MINT-Transformation repository. The image must have all the files.
Your instructions refers to the file: /ws/examples/topoflow4/run_climate.sh
But, I can't find it.
https://github.com/mintproject/MINT-Transformation/tree/master/examples/topoflow4
or
❯ ls examples/topoflow4/ resources topoflow_climate_per_month.yml topoflow_climate.yml topoflow_soil.yml
The correct command is:
docker run --rm -v $(pwd):/ws -v /tmp:/tmp mint_dt examples/topoflow4/topoflow_climate.yml
The instructions are outdated
@summer7xinting @minhptx I have a question on the following:
DEM_bounds: "23.995416666666, 6.532916666667, 28.020416666666, 9.566250000000"
DEM_xres_arcsecs: "30"
DEM_yres_arcsecs: "30"
DEM_bound: Is this described as the upper left and bottom right of the box? And is it LAT, LON?
xres, yres: is it in seconds? I assume it is, because of arcsec.
@dgarijo I think the order is "lon_min, lat_min, lon_max, lat_max" and the resolution are in arcseconds.
@minhptx do you think, or do you know for sure? This is critical info for using the transformation :)
@binh-vu can you confirm this ?
@dgarijo I think the order is "lon_min, lat_min, lon_max, lat_max" and the resolution are in arcseconds.
As per this PR: now the rts and rti file will live in specified tmp dir and the zipped file will be the specified output file. I modified the yml as well so please try:
/tmp/demo/input
/tmp/demo/input
: downloaded from heredocker run --rm -p 5000:5000 -v $(pwd):/ws -v /tmp:/tmp -it mint_dt bash /ws/examples/topoflow4/run_climate.sh
docker run --rm -v $(pwd):/ws -v /tmp:/tmp mint_dt examples/topoflow4/topoflow_climate.yml
/tmp/demo/output
: should produceclimate_all.zip
correctly (I checked the diff: they are the same)