adding semaphore to control the number of netcdf cache files created at once, 16 simultaneously seems to crash all of the works, probably a memory consumption thing