RETURN-project / makeDataCube

Data management
Apache License 2.0
0 stars 0 forks source link

Level 2 files are not generated in Spider #49

Closed PabRod closed 2 years ago

PabRod commented 3 years ago

Problem

The last step of our analysis, that at console levels looks like:

force-level2 data/param/l2param.prm

throws an error when run on Spider.

11 images enqueued. Start processing with 6 CPUs
No valid parameter file!
Parsing parameter file failed.

Solution

The first step would be to update our package on Spider.

The second would be to update force, although both the local and the server version are identified as v3.6.5.

PabRod commented 3 years ago

The problem seems to be related with the DEM step. This step requires the .netrc file to be configured in the users' home. This is achieved with the function R/SRTM_DEM.R/EartDataLogin, but it is designed to be used interactively at least the first time, leading to an uncatched error on Spider.

The problem is solved by copying a valid .netrc file to the users' home in Spider. A valid .netrc file looks like:

machine urs.earthdata.nasa.gov
login pabrod
password ******