Rahul Mahrsee
Rahul Mahrsee
Users should be able to specify the floating point number while specifying `-a, --area: Target area in [N, W, S, E].` Eg: --area 49.34 -124.68 24.74 -66.95
Currently `rasterio` has been used to fetch metadata from TIF file because `xarray's` open_dataset method is not providing the same.
While running weather-tools, users may optionally provide “--log-level” flag to control the tool's logging level. Possible values for this flag will be: ERROR, WARN, INFO, DEBUG Any other value will...
#### Code: ``` ... if __name__ == '__main__': print(f"Before execution start: {psutil.Process(os.getpid()).memory_info().rss / 1024 ** 2} MiB") main(arr) print(f"After everything is done: {psutil.Process(os.getpid()).memory_info().rss / 1024 ** 2} MiB") ``` ####...
Lets us take this [file](https://ftp.ncep.noaa.gov/data/nccf/com/nam/prod/nam.20221221/nam.t00z.afwaca36.tm00.grib2). Observe that the memory has not been cleared even after deleting the `ds`. ### Code: ``` import os import psutil import cfgrib from memory_profiler import...
### Time Efficient: Make use of `gcloud alpha storage` in open_local() method, sinks.py. Findings -- using `gsutil` for downloading the data from gcs to the local file system is 5...
Add steps in [CI workflow](https://github.com/google/weather-tools/blob/main/.github/workflows/ci.yml) to verify successful execution of setup.py for all tools. #### Implementation Detail: Something like -- ```pip install ./weather_mv --dry-run --no-cache-dir``` This will prevent these (#279...