Re: [netcdfgroup] Issue with time variable for Monte Carlo "scenarios"

I hope I understood what you want to do.
My recollection is that netcdf-4 accepts more than one unlimited dimension.
https://docs.unidata.ucar.edu/netcdf-c/current/unlimited_dims.html
So, in a single file you could have two unlimited dimensions, say,
"scenario" (or "storm"), and "time",
and your precipitation variable could depend on both (and on lat, lon).
Gus Correa

On Fri, Jul 8, 2022 at 2:56 PM Joe Lee <hyoklee@xxxxxxxxxxxx> wrote:

> Hi,
>
>
>
> I think it’s OK to have 10,000+ separate netcdf files if they are
> searchable using metadata.
>
> We’ve created 85,302 CF-compliant netCDF-4/HDF5 files with 2D lat/lon for
> Terra Fusion project that spans over 15 years.
>
> See slide 15 of [1] for the details.
>
>
>
> [1]
> http://www.nationaldataservice.org/get_involved/events/DataScienceTools/pdfs/zhao_terra.pdf
>
>
>
> *From:* netcdfgroup <netcdfgroup-bounces@xxxxxxxxxxxxxxxx> *On Behalf Of 
> *Daniel
> Wright via netcdfgroup
> *Sent:* Friday, July 08, 2022 12:18 PM
> *To:* netcdfgroup@xxxxxxxxxxxxxxxx
> *Subject:* [netcdfgroup] Issue with time variable for Monte Carlo
> "scenarios"
>
>
>
> Hey everyone! New poster here.
>
> I am the creator of a software, which, among other things, generates
> really large numbers of gridded precipitation “storm scenarios” in netcdf
> format, which can then be used for things like monte carlo simulation to
> estimate 100-year floods. I have a question I am hoping someone could weigh
> in on. The question has real-world significance, because I am working with
> the US Army Corps of Engineers Hydrologic Engineering Center to figure out
> how to get output from my RainyDay software into their flood simulation
> software.
>
> Anyway, here’s the issue: Because the software generates large numbers
> (think 10,000+) of rainstorm scenarios, each one has a distinct time (e.g .
> 72 hours of hourly precipitation), as well as a 2D (lat/lon) precipitation
> field for each time period. Of course it isn’t ideal to create 10,000+
> separate netcdf files, one for each scenario. So instead I can create one
> or several files, which contain multiple storms. Consider this example: Say
> a file contains N=500 storms, and each storm is comprised of 72 hours of
> hourly gridded data, but each storm has a different 72 hour period. My
> software currently writes the a 2-dimensional ‘time’ variable, specifically
> of size 500x72. This can be done, but as far as I can tell this violates CF
> standards.
>
> So the question is basically is there an alternative way that is compliant
> with standards like CF, but that can contain a large number of gridded
> “scenarios” each with a different time?
>
> Thanks,
>
> Dan
>
>
>
> --
>
> Daniel B. Wright
>
> Associate Professor
>
> Civil and Environmental Engineering
>
> University of Wisconsin-Madison
>
> Hydroclimate Extremes Research Group (https://her.cee.wisc.edu/)
>
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> https://www.unidata.ucar.edu/mailing_lists/
>
  • 2022 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: