Commit 6efbd9ca authored by Renzo Marini's avatar Renzo Marini
Browse files

fix nombre con ens de dos digitos

parent 5c6bb43c
......@@ -208,8 +208,8 @@ if __name__ == "__main__":
# Terminar de cargar los parámetros del request
api_parameters["origin"] = origin[1:]
api_parameters["time"] = curr_time[1:]
if api_parameters["type"] == "pf" and len(api_parameters["number"]) == 1:
api_parameters["target"] = origin_target[1:] + "_pf_ens_" + api_parameters["number"][0] + "_" + \
if api_parameters["type"] == "pf" and len(parameters["number"]) == 1:
api_parameters["target"] = origin_target[1:] + "_pf_ens_" + parameters["number"][0] + "_" + \
api_parameters[
"date"].replace("/", "-") + ".grib"
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment