theoway / goes-16

0 stars 1 forks source link

Warning during extraction of variables from netcdf files #16

Open theoway opened 5 months ago

theoway commented 5 months ago

Here's the warning-

/app/goes-16/goes_16_date.py:232: RuntimeWarning: invalid value encountered in log
  bt = ( (planck_fk2 / (np.log( (planck_fk1/rad)+1 ))) - planck_bc1 ) /  planck_bc2

Reproduction steps-

  1. Use 76.json only
  2. Run download first- sudo docker run --rm -v ".:/app" goes_downloader:stable python3 goes-16/DOWNLOAD_dated_bbox.py -s /app/DATA/ -p ABI-L1b-RadC -d 3. Here, -d 3 means that previous days data from start date will also be downloaded.
  3. Run preprocessing script- sudo docker run --rm -v ".:/app" goes_downloader:stable python3 goes-16/PREPROCESS_images_bbox.py -s /app/DATA/ -p ABI-L1b-RadC -b Rad -f radiance