target: test.nc

test.grib: test.r
	mars test.r

test.nc: test.grib nc2nc.py
	grib_to_netcdf test.grib -o tmp.nc
	python nc2nc.py tmp.nc test.nc
