Dear All,
I am new to Mintpy. I followed the instruction, provided on their website and created an account on the CDS website. Then, I created a file named .cdsapirc and added my API info to that.
To familiarize myself with this software I am using the "WellsEnvD2T399" training data set . It, however, returns the following error when I run "smallbaselineApp.py WellsEnvD2T399.txt" command. I would really appreciate it if you can help me with this issue.
Best,
Amin
INFO: You are using the latest ECMWF platform for downloading datasets: https://cds.climate.copernicus.eu/api/v2
Downloading 1 of 8: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/ERA5/ERA5_N30_N50_W120_W110_20070709_18.grb
{'product_type': 'reanalysis', 'format': 'grib', 'variable': ['geopotential', 'temperature', 'specific_humidity'], 'pressure_level': ['1', '2', '3', '5', '7', '10', '20', '30', '50', '70', '100', '125', '150', '175', '200', '225', '250', '300', '350', '400', '450', '500', '550', '600', '650', '700', '750', '775', '800', '825', '850', '875', '900', '925', '950', '975', '1000'], 'year': '2007', 'month': '07', 'day': '09', 'time': '18:00', 'area': '50.00/-120.00/30.00/-110.00'}
2022-10-31 17:05:23,878 INFO Welcome to the CDS
2022-10-31 17:05:23,878 INFO Sending request to https://cds.climate.copernicus.eu/api/v2/resources/reanalysis-era5-pressure-levels
**************************************************
WARNING: downloading failed for 3 times, stop trying and continue.
**************************************************
update mode: ON
output file: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/inputs/ERA5.h5
1) output file either do NOT exist or is NOT newer than all GRIB files.
run or skip: run
open geometry file: geometryRadar.h5
reading incidenceAngle data from file: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/inputs/geometryRadar.h5 ...
reading height data from file: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/inputs/geometryRadar.h5 ...
--------------------------------------------------
create HDF5 file: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/inputs/ERA5.h5 with w mode
create dataset : date of |S1 in size of (0,) with compression = None
create dataset : timeseries of <class 'numpy.float32'> in size of (0, 508, 514) with compression = None
close HDF5 file: /Users/atavakk3/Downloads/WellsEnvD2T399/mintpy/inputs/ERA5.h5
------------------------------------------------------------------------------
calculating absolute delay for each date using PyAPS (Jolivet et al., 2011; 2014) ...
number of grib files used: 0
Traceback (most recent call last):
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/bin/smallbaselineApp.py", line 10, in <module>
sys.exit(main())
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 1291, in main
app.run(steps=inps.runSteps)
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 1071, in run
self.run_tropospheric_delay_correction(sname)
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/smallbaselineApp.py", line 823, in run_tropospheric_delay_correction
tropo_pyaps3.main(iargs)
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/tropo_pyaps3.py", line 849, in main
calc_delay_timeseries(inps)
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/tropo_pyaps3.py", line 761, in calc_delay_timeseries
prog_bar = ptime.progressBar(maxValue=num_date, print_msg=~inps.verbose)
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/objects/progress.py", line 52, in __init__
self.reset()
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/objects/progress.py", line 57, in reset
self.update_amount(0) # Build progress bar string
File "/Users/atavakk3/opt/anaconda3/envs/mint_py2/lib/python3.8/site-packages/mintpy/objects/progress.py", line 73, in update_amount
percentDone = (diffFromMin / np.float(self.span)) * 100.0
ZeroDivisionError: float division by zero
--
You received this message because you are subscribed to the Google Groups "MintPy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mintpy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mintpy/9faca853-b2bd-4d0d-8a7d-855f3f6ad83cn%40googlegroups.com.